Skip to content

Commit

Permalink
Merge branch 'eclipse-jdt:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalat authored Jun 4, 2024
2 parents 75a2bad + cc8a223 commit a9739bc
Show file tree
Hide file tree
Showing 1,486 changed files with 68,001 additions and 40,614 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
31 changes: 24 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,47 @@ on:
branches: '**'

jobs:
event_file:
name: "Upload Event File"
runs-on: ubuntu-latest
steps:
- name: Upload
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: Event File
path: ${{ github.event_path }}
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Set up JDKs ☕
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: |
8
17
20
21
mvn-toolchain-id: |
JavaSE-1.8
JavaSE-17
JavaSE-20
JavaSE-21
distribution: 'temurin'
- name: Set up Maven
uses: stCarolas/setup-maven@07fbbe97d97ef44336b7382563d66743297e442f # v4.5
uses: stCarolas/setup-maven@d6af6abeda15e98926a57b5aa970a96bb37f97d1 # v5
with:
maven-version: 3.9.3
maven-version: 3.9.6
- name: Build with Maven 🏗️
run: |
mvn clean install --batch-mode -f org.eclipse.jdt.core.compiler.batch -DlocalEcjVersion=99.99
mvn -U clean verify --batch-mode --fail-at-end -Ptest-on-javase-20 -Pbree-libs -Papi-check -Djava.io.tmpdir=$WORKSPACE/tmp -Dproject.build.sourceEncoding=UTF-8 -Dtycho.surefire.argLine="--add-modules ALL-SYSTEM -Dcompliance=1.8,11,17,20 -Djdt.performance.asserts=disabled" -Dcbi-ecj-version=99.99
mvn -U clean verify --batch-mode --fail-at-end -Ptest-on-javase-21 -Pbree-libs -Papi-check -Djava.io.tmpdir=$WORKSPACE/tmp -Dproject.build.sourceEncoding=UTF-8 -Dtycho.surefire.argLine="--add-modules ALL-SYSTEM -Dcompliance=1.8,11,17,20 -Djdt.performance.asserts=disabled" -Dcbi-ecj-version=99.99
- name: Upload Test Results for Linux
if: always()
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
with:
name: test-results-linux
if-no-files-found: warn
path: |
${{ github.workspace }}/**/target/surefire-reports/*.xml
13 changes: 13 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: CodeQL call

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
schedule:
- cron: '15 8 * * 1'

jobs:
callCodeQLworkflow:
uses: eclipse-platform/eclipse.platform.releng.aggregator/.github/workflows/codeQLworkflow.yml@master
4 changes: 2 additions & 2 deletions .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.7
uses: cirrus-actions/rebase@1.8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ Snap.*
# maven
/*/target/
/target/

# pomless
.polyglot.*
8 changes: 8 additions & 0 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<extensions>
<extension>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-build</artifactId>
<version>4.0.7</version>
</extension>
</extensions>
8 changes: 4 additions & 4 deletions JCL/converterJclMin15/src/java/io/Serializable.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package java.io;

public interface Serializable {
}
package java.io;

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

public interface CharSequence {
int length();
}
package java.lang;

public interface CharSequence {
int length();
}
8 changes: 4 additions & 4 deletions JCL/converterJclMin15/src/java/lang/Class.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package java.lang;

public class Class<T> {
}
package java.lang;

public class Class<T> {
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package java.lang;

public class CloneNotSupportedException extends Exception {
}
package java.lang;

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

public interface Comparable<T> {
}
package java.lang;

public interface Comparable<T> {
}
10 changes: 5 additions & 5 deletions JCL/converterJclMin15/src/java/lang/Deprecated.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package java.lang;
import java.lang.annotation.*;
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface Deprecated {
package java.lang;
import java.lang.annotation.*;
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface Deprecated {
}
34 changes: 17 additions & 17 deletions JCL/converterJclMin15/src/java/lang/Enum.java
Original file line number Diff line number Diff line change
@@ -1,18 +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;
}
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;
}
}
32 changes: 16 additions & 16 deletions JCL/converterJclMin15/src/java/lang/Error.java
Original file line number Diff line number Diff line change
@@ -1,16 +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
}
}
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
}
}
38 changes: 19 additions & 19 deletions JCL/converterJclMin15/src/java/lang/Exception.java
Original file line number Diff line number Diff line change
@@ -1,19 +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);
}
}
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);
}
}
10 changes: 5 additions & 5 deletions JCL/converterJclMin15/src/java/lang/IllegalAccessException.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package java.lang;

public class IllegalAccessException extends RuntimeException {

}
package java.lang;

public class IllegalAccessException extends RuntimeException {

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

public class IllegalMonitorStateException extends RuntimeException {
}
package java.lang;

public class IllegalMonitorStateException extends RuntimeException {
}
8 changes: 4 additions & 4 deletions JCL/converterJclMin15/src/java/lang/InterruptedException.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package java.lang;

public class InterruptedException extends Exception {
}
package java.lang;

public class InterruptedException extends Exception {
}
10 changes: 5 additions & 5 deletions JCL/converterJclMin15/src/java/lang/NoSuchMethodException.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package java.lang;

public class NoSuchMethodException extends RuntimeException {

}
package java.lang;

public class NoSuchMethodException extends RuntimeException {

}
68 changes: 34 additions & 34 deletions JCL/converterJclMin15/src/java/lang/Object.java
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
package java.lang;

public class Object {

public Object() {
}
protected Object clone() throws CloneNotSupportedException {
return null;
}
public boolean equals (Object obj) {
return false;
}
protected void finalize () throws Throwable {
}
public final Class<? extends Object> getClass() {
return null;
}
public int hashCode() {
return -1;
}
public final void notify() throws IllegalMonitorStateException {
}
public final void notifyAll() throws IllegalMonitorStateException {
}
public String toString () {
return null;
}
public final void wait () throws IllegalMonitorStateException, InterruptedException {
}
public final void wait (long millis) throws IllegalMonitorStateException, InterruptedException {
}
public final void wait (long millis, int nanos) throws IllegalMonitorStateException, InterruptedException {
}
}
package java.lang;

public class Object {

public Object() {
}
protected Object clone() throws CloneNotSupportedException {
return null;
}
public boolean equals (Object obj) {
return false;
}
protected void finalize () throws Throwable {
}
public final Class<? extends Object> getClass() {
return null;
}
public int hashCode() {
return -1;
}
public final void notify() throws IllegalMonitorStateException {
}
public final void notifyAll() throws IllegalMonitorStateException {
}
public String toString () {
return null;
}
public final void wait () throws IllegalMonitorStateException, InterruptedException {
}
public final void wait (long millis) throws IllegalMonitorStateException, InterruptedException {
}
public final void wait (long millis, int nanos) throws IllegalMonitorStateException, InterruptedException {
}
}
Loading

0 comments on commit a9739bc

Please sign in to comment.