Skip to content

Commit

Permalink
Merge pull request #2979 from jarthana/master
Browse files Browse the repository at this point in the history
  • Loading branch information
jarthana authored Sep 18, 2024
2 parents b7e519d + f8fb582 commit 983f530
Show file tree
Hide file tree
Showing 429 changed files with 25,748 additions and 8,592 deletions.
17 changes: 17 additions & 0 deletions .project
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>
1 change: 1 addition & 0 deletions JCL/converterJclMin22/src/java/lang/Double.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package java.lang;
public final class Double extends Number{
}

1 change: 1 addition & 0 deletions JCL/converterJclMin22/src/java/lang/Float.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package java.lang;
public final class Float extends Number{
}

1 change: 1 addition & 0 deletions JCL/converterJclMin22/src/java/lang/Long.java
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
package java.lang;
public final class Long extends Number{
}
5 changes: 5 additions & 0 deletions JCL/converterJclMin23/src/java/io/InputStream.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package java.io;

public class InputStream {

}
8 changes: 8 additions & 0 deletions JCL/converterJclMin23/src/java/io/PrintStream.java
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) {
}
}
4 changes: 4 additions & 0 deletions JCL/converterJclMin23/src/java/io/Serializable.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package java.io;

public interface Serializable {
}
5 changes: 5 additions & 0 deletions JCL/converterJclMin23/src/java/lang/CharSequence.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package java.lang;

public interface CharSequence {
int length();
}
4 changes: 4 additions & 0 deletions JCL/converterJclMin23/src/java/lang/Class.java
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 JCL/converterJclMin23/src/java/lang/ClassNotFoundException.java
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();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package java.lang;

public class CloneNotSupportedException extends Exception {
}
4 changes: 4 additions & 0 deletions JCL/converterJclMin23/src/java/lang/Comparable.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package java.lang;

public interface Comparable<T> {
}
6 changes: 6 additions & 0 deletions JCL/converterJclMin23/src/java/lang/Deprecated.java
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 {
}
4 changes: 4 additions & 0 deletions JCL/converterJclMin23/src/java/lang/Double.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package java.lang;
public final class Double extends Number{
}

18 changes: 18 additions & 0 deletions JCL/converterJclMin23/src/java/lang/Enum.java
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;
}
}
16 changes: 16 additions & 0 deletions JCL/converterJclMin23/src/java/lang/Error.java
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
}
}
19 changes: 19 additions & 0 deletions JCL/converterJclMin23/src/java/lang/Exception.java
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);
}
}
4 changes: 4 additions & 0 deletions JCL/converterJclMin23/src/java/lang/Float.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package java.lang;
public final class Float extends Number{
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package java.lang;

public class IllegalAccessException extends RuntimeException {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package java.lang;

public class IllegalMonitorStateException extends RuntimeException {
}
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);
}
}
59 changes: 59 additions & 0 deletions JCL/converterJclMin23/src/java/lang/Integer.java
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 JCL/converterJclMin23/src/java/lang/InterruptedException.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package java.lang;

public class InterruptedException extends Exception {
}
10 changes: 10 additions & 0 deletions JCL/converterJclMin23/src/java/lang/Iterable.java
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) {
}
}
17 changes: 17 additions & 0 deletions JCL/converterJclMin23/src/java/lang/LinkageError.java
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);
}
}
3 changes: 3 additions & 0 deletions JCL/converterJclMin23/src/java/lang/Long.java
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 JCL/converterJclMin23/src/java/lang/NoClassDefFoundError.java
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);
}
}
13 changes: 13 additions & 0 deletions JCL/converterJclMin23/src/java/lang/NoSuchFieldError.java
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);
}
}
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 JCL/converterJclMin23/src/java/lang/NullPointerException.java
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);
}
}
29 changes: 29 additions & 0 deletions JCL/converterJclMin23/src/java/lang/Number.java
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 {
}
Loading

0 comments on commit 983f530

Please sign in to comment.