-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2979 from jarthana/master
- Loading branch information
Showing
429 changed files
with
25,748 additions
and
8,592 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,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>eclipse.jdt.core</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.eclipse.m2e.core.maven2Builder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.eclipse.m2e.core.maven2Nature</nature> | ||
</natures> | ||
</projectDescription> |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
package java.lang; | ||
public final class Double extends Number{ | ||
} | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
package java.lang; | ||
public final class Float extends Number{ | ||
} | ||
|
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
package java.lang; | ||
public final class Long extends Number{ | ||
} |
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,5 @@ | ||
package java.io; | ||
|
||
public class InputStream { | ||
|
||
} |
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 @@ | ||
package java.io; | ||
|
||
public class PrintStream { | ||
public void println(String x) { | ||
} | ||
public void println(int x) { | ||
} | ||
} |
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,4 @@ | ||
package java.io; | ||
|
||
public interface Serializable { | ||
} |
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,5 @@ | ||
package java.lang; | ||
|
||
public interface CharSequence { | ||
int length(); | ||
} |
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,4 @@ | ||
package java.lang; | ||
|
||
public class Class<T> { | ||
} |
20 changes: 20 additions & 0 deletions
20
JCL/converterJclMin23/src/java/lang/ClassNotFoundException.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,20 @@ | ||
package java.lang; | ||
|
||
public class ClassNotFoundException extends ReflectiveOperationException { | ||
|
||
public ClassNotFoundException() { | ||
super((Throwable)null); // Disallow initCause | ||
} | ||
|
||
public ClassNotFoundException(String s) { | ||
super(s, null); // Disallow initCause | ||
} | ||
|
||
public ClassNotFoundException(String s, Throwable ex) { | ||
super(s, ex); // Disallow initCause | ||
} | ||
|
||
public Throwable getException() { | ||
return getCause(); | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
JCL/converterJclMin23/src/java/lang/CloneNotSupportedException.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,4 @@ | ||
package java.lang; | ||
|
||
public class CloneNotSupportedException extends Exception { | ||
} |
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,4 @@ | ||
package java.lang; | ||
|
||
public interface Comparable<T> { | ||
} |
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,6 @@ | ||
package java.lang; | ||
import java.lang.annotation.*; | ||
@Documented | ||
@Retention(RetentionPolicy.RUNTIME) | ||
public @interface Deprecated { | ||
} |
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,4 @@ | ||
package java.lang; | ||
public final class Double extends Number{ | ||
} | ||
|
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,18 @@ | ||
package java.lang; | ||
|
||
public abstract class Enum<T extends Enum<T>> implements Comparable<T>, java.io.Serializable { | ||
private static final long serialVersionUID = 2L; | ||
|
||
protected Enum(String name, int ordinal) { | ||
} | ||
public final String name() { | ||
return null; | ||
} | ||
public final int ordinal() { | ||
return 0; | ||
} | ||
public static <T extends Enum<T>> T valueOf(Class<T> enumClass, | ||
String name) { | ||
return null; | ||
} | ||
} |
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,16 @@ | ||
package java.lang; | ||
|
||
public class Error extends Throwable { | ||
|
||
public Error(java.lang.String s) { | ||
// TODO Auto-generated constructor stub | ||
} | ||
|
||
public Error(java.lang.String s, java.lang.Throwable cause) { | ||
// TODO Auto-generated constructor stub | ||
} | ||
|
||
public Error() { | ||
// TODO Auto-generated constructor stub | ||
} | ||
} |
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,19 @@ | ||
package java.lang; | ||
|
||
public class Exception extends Throwable { | ||
public Exception() { | ||
super(); | ||
} | ||
|
||
public Exception(String message) { | ||
super(message); | ||
} | ||
|
||
public Exception(String message, Throwable cause) { | ||
super(message, cause); | ||
} | ||
|
||
public Exception(Throwable cause) { | ||
super(cause); | ||
} | ||
} |
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,4 @@ | ||
package java.lang; | ||
public final class Float extends Number{ | ||
} | ||
|
5 changes: 5 additions & 0 deletions
5
JCL/converterJclMin23/src/java/lang/IllegalAccessException.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,5 @@ | ||
package java.lang; | ||
|
||
public class IllegalAccessException extends RuntimeException { | ||
|
||
} |
4 changes: 4 additions & 0 deletions
4
JCL/converterJclMin23/src/java/lang/IllegalMonitorStateException.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,4 @@ | ||
package java.lang; | ||
|
||
public class IllegalMonitorStateException extends RuntimeException { | ||
} |
13 changes: 13 additions & 0 deletions
13
JCL/converterJclMin23/src/java/lang/IncompatibleClassChangeError.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,13 @@ | ||
|
||
package java.lang; | ||
public | ||
class IncompatibleClassChangeError extends LinkageError { | ||
|
||
public IncompatibleClassChangeError () { | ||
super(); | ||
} | ||
|
||
public IncompatibleClassChangeError(String s) { | ||
super(s); | ||
} | ||
} |
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,59 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2000, 2004 IBM Corporation and others. | ||
* All rights reserved. This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html | ||
* | ||
* Contributors: | ||
* IBM Corporation - initial API and implementation | ||
*******************************************************************************/ | ||
package java.lang; | ||
|
||
public class Integer extends Number implements Comparable<Integer> { | ||
private static final long serialVersionUID = 6462609062775655000L; | ||
|
||
public Integer(int i) { | ||
} | ||
public Integer(String s) { | ||
} | ||
public static final int MAX_VALUE= 2147483647; | ||
public static final int MIN_VALUE= -2147483647; | ||
|
||
public static int parseInt(String s) { | ||
return 0; | ||
} | ||
public static String toHexString(int i) { | ||
return null; | ||
} | ||
public static String toString(int i) { | ||
return null; | ||
} | ||
/* (non-Javadoc) | ||
* @see java.lang.Number#doubleValue() | ||
*/ | ||
public double doubleValue() { | ||
return 0; | ||
} | ||
/* (non-Javadoc) | ||
* @see java.lang.Number#floatValue() | ||
*/ | ||
public float floatValue() { | ||
return 0; | ||
} | ||
/* (non-Javadoc) | ||
* @see java.lang.Number#intValue() | ||
*/ | ||
public int intValue() { | ||
return 0; | ||
} | ||
/* (non-Javadoc) | ||
* @see java.lang.Number#longValue() | ||
*/ | ||
public long longValue() { | ||
return 0; | ||
} | ||
public int compareTo(Integer i) { | ||
return 0; | ||
} | ||
} |
4 changes: 4 additions & 0 deletions
4
JCL/converterJclMin23/src/java/lang/InterruptedException.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,4 @@ | ||
package java.lang; | ||
|
||
public class InterruptedException extends Exception { | ||
} |
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,10 @@ | ||
package java.lang; | ||
|
||
import java.util.Iterator; | ||
import java.util.function.Consumer; | ||
|
||
public interface Iterable<T> { | ||
Iterator<T> iterator(); | ||
default void forEach(Consumer<? super T> action) { | ||
} | ||
} |
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,17 @@ | ||
package java.lang; | ||
|
||
public | ||
class LinkageError extends Error { | ||
|
||
public LinkageError() { | ||
super(); | ||
} | ||
|
||
public LinkageError(String s) { | ||
super(s); | ||
} | ||
|
||
public LinkageError(String s, Throwable cause) { | ||
super(s, cause); | ||
} | ||
} |
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,3 @@ | ||
package java.lang; | ||
public final class Long extends Number{ | ||
} |
13 changes: 13 additions & 0 deletions
13
JCL/converterJclMin23/src/java/lang/NoClassDefFoundError.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,13 @@ | ||
package java.lang; | ||
|
||
public | ||
class NoClassDefFoundError extends LinkageError { | ||
|
||
public NoClassDefFoundError() { | ||
super(); | ||
} | ||
|
||
public NoClassDefFoundError(String s) { | ||
super(s); | ||
} | ||
} |
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,13 @@ | ||
package java.lang; | ||
|
||
public | ||
class NoSuchFieldError extends IncompatibleClassChangeError { | ||
|
||
public NoSuchFieldError() { | ||
super(); | ||
} | ||
|
||
public NoSuchFieldError(String s) { | ||
super(s); | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
JCL/converterJclMin23/src/java/lang/NoSuchMethodException.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,5 @@ | ||
package java.lang; | ||
|
||
public class NoSuchMethodException extends RuntimeException { | ||
|
||
} |
11 changes: 11 additions & 0 deletions
11
JCL/converterJclMin23/src/java/lang/NullPointerException.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,11 @@ | ||
package java.lang; | ||
public | ||
class NullPointerException extends RuntimeException { | ||
public NullPointerException() { | ||
super(); | ||
} | ||
|
||
public NullPointerException(String s) { | ||
super(s); | ||
} | ||
} |
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,29 @@ | ||
/* | ||
* Copyright (c) 1994, 2021, Oracle and/or its affiliates. All rights reserved. | ||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | ||
* | ||
* This code is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License version 2 only, as | ||
* published by the Free Software Foundation. Oracle designates this | ||
* particular file as subject to the "Classpath" exception as provided | ||
* by Oracle in the LICENSE file that accompanied this code. | ||
* | ||
* This code is distributed in the hope that it will be useful, but WITHOUT | ||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | ||
* version 2 for more details (a copy is included in the LICENSE file that | ||
* accompanied this code). | ||
* | ||
* You should have received a copy of the GNU General Public License version | ||
* 2 along with this work; if not, write to the Free Software Foundation, | ||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | ||
* | ||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | ||
* or visit www.oracle.com if you need additional information or have any | ||
* questions. | ||
*/ | ||
|
||
package java.lang; | ||
|
||
public abstract class Number implements java.io.Serializable { | ||
} |
Oops, something went wrong.