-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test adaptation for unsupported Java versions
See #2536
- Loading branch information
1 parent
64b439d
commit 3be7fa1
Showing
236 changed files
with
4,923 additions
and
9,964 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-22"/> | ||
|
||
<classpathentry kind="src" path="converterJclMin22/src"/> | ||
|
||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>JCL</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
</buildSpec> | ||
<natures> | ||
</natures> | ||
</projectDescription> |
164 changes: 164 additions & 0 deletions
164
JCL/converterJclMin1.8/src/java/lang/StringBuilder.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
package java.lang; | ||
|
||
|
||
public final class StringBuilder { | ||
|
||
public StringBuilder() { | ||
} | ||
|
||
public StringBuilder(int capacity) { | ||
} | ||
|
||
public StringBuilder(String str) { | ||
} | ||
|
||
public StringBuilder(CharSequence seq) { | ||
} | ||
|
||
public StringBuilder append(Object obj) { | ||
return this; | ||
} | ||
|
||
public StringBuilder append(String str) { | ||
return this; | ||
} | ||
|
||
public StringBuilder append(StringBuffer sb) { | ||
return this; | ||
} | ||
|
||
public StringBuilder append(CharSequence s) { | ||
return this; | ||
} | ||
|
||
public StringBuilder append(CharSequence s, int start, int end) { | ||
return this; | ||
} | ||
|
||
public StringBuilder append(char[] str) { | ||
return this; | ||
} | ||
|
||
public StringBuilder append(char[] str, int offset, int len) { | ||
return this; | ||
} | ||
|
||
public StringBuilder append(boolean b) { | ||
return this; | ||
} | ||
|
||
public StringBuilder append(char c) { | ||
return this; | ||
} | ||
|
||
|
||
public StringBuilder append(int i) { | ||
return this; | ||
} | ||
|
||
|
||
public StringBuilder append(long lng) { | ||
return this; | ||
} | ||
|
||
|
||
public StringBuilder append(float f) { | ||
return this; | ||
} | ||
|
||
|
||
public StringBuilder append(double d) { | ||
return this; | ||
} | ||
|
||
public StringBuilder appendCodePoint(int codePoint) { | ||
return this; | ||
} | ||
|
||
public StringBuilder delete(int start, int end) { | ||
return this; | ||
} | ||
|
||
public StringBuilder deleteCharAt(int index) { | ||
return this; | ||
} | ||
|
||
public StringBuilder replace(int start, int end, String str) { | ||
return this; | ||
} | ||
|
||
public StringBuilder insert(int index, char[] str, int offset, int len) { | ||
return this; | ||
} | ||
|
||
public StringBuilder insert(int offset, Object obj) { | ||
return this; | ||
} | ||
|
||
public StringBuilder insert(int offset, String str) { | ||
return this; | ||
} | ||
|
||
public StringBuilder insert(int offset, char[] str) { | ||
return this; | ||
} | ||
|
||
public StringBuilder insert(int dstOffset, CharSequence s) { | ||
return this; | ||
} | ||
|
||
public StringBuilder insert(int dstOffset, CharSequence s, int start, int end) { | ||
return this; | ||
} | ||
|
||
public StringBuilder insert(int offset, boolean b) { | ||
return this; | ||
} | ||
|
||
public StringBuilder insert(int offset, char c) { | ||
return this; | ||
} | ||
|
||
|
||
public StringBuilder insert(int offset, int i) { | ||
return this; | ||
} | ||
|
||
public StringBuilder insert(int offset, long l) { | ||
return this; | ||
} | ||
|
||
public StringBuilder insert(int offset, float f) { | ||
return this; | ||
} | ||
|
||
public StringBuilder insert(int offset, double d) { | ||
return this; | ||
} | ||
|
||
public int indexOf(String str) { | ||
return 0; | ||
} | ||
|
||
public int indexOf(String str, int fromIndex) { | ||
return 0; | ||
} | ||
|
||
public int lastIndexOf(String str) { | ||
return 0; | ||
} | ||
|
||
public int lastIndexOf(String str, int fromIndex) { | ||
return 0; | ||
} | ||
|
||
public StringBuilder reverse() { | ||
return this; | ||
} | ||
|
||
public String toString() { | ||
return ""; | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.