Skip to content

Commit 6980d55

Browse files
author
anquetil
committed
updated to JDT 3.41
1 parent 9f45c02 commit 6980d55

3 files changed

Lines changed: 33 additions & 6 deletions

File tree

.run/Run All Tests.run.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
<component name="ProjectRunConfigurationManager">
22
<configuration default="false" name="Run All Tests" type="JUnit" factoryName="JUnit">
3-
<module name="VerveineJ" />
4-
<useClassPathOnly />
3+
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" />
4+
<option name="ALTERNATIVE_JRE_PATH" value="/usr/lib/jvm/jdk-17" />
55
<option name="MAIN_CLASS_NAME" value="" />
66
<option name="METHOD_NAME" value="" />
77
<option name="TEST_OBJECT" value="directory" />
88
<option name="VM_PARAMETERS" />
99
<option name="PARAMETERS" value="" />
10-
<dir value="$PROJECT_DIR$/tests" />
10+
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
11+
<dir value="$PROJECT_DIR$/app/src/test" />
1112
<fork_mode value="method" />
1213
<method v="2">
1314
<option name="Make" enabled="true" />

app/build.gradle.kts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ dependencies {
3535

3636
// This dependency is used by the application.
3737
implementation("org.moosetechnology:fame-java:v1.0.5")
38-
implementation("org.eclipse.jdt:org.eclipse.jdt.core:3.13.50")
39-
implementation("commons-codec:commons-codec:1.7")
38+
implementation("org.eclipse.jdt:org.eclipse.jdt.core:3.41.0")
39+
implementation("commons-codec:commons-codec:1.13")
4040

4141
implementation(fileTree("lib") { include("*.jar") })
4242
}
@@ -54,18 +54,19 @@ application {
5454
}
5555

5656

57-
5857
tasks.test {
5958
finalizedBy(tasks.jacocoTestReport) // report is always generated after tests run
6059
}
6160

61+
6262
tasks.jacocoTestReport {
6363
dependsOn(tasks.test)
6464
reports {
6565
xml.required = true
6666
}
6767
}
6868

69+
6970
tasks.named<com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar>("shadowJar") {
7071
archiveBaseName.set("VerveineJ")
7172
archiveClassifier.set(System.getenv("VERSION") ?: "Snapshot")

app/src/main/java/fr/inria/verveine/extractor/java/utils/StubBinding.java

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ public boolean isEqualTo(IBinding that) {
185185

186186
// ITypeBinding methods
187187

188+
@Override
189+
public boolean isRecord() { return false; }
190+
188191
@Override
189192
public IPackageBinding getPackage() {
190193
return null;
@@ -443,6 +446,28 @@ public ITypeBinding[] getInterfaces() {
443446

444447
// IMethodBinding methods
445448

449+
@Override
450+
public String[] getParameterNames() {
451+
return new String[0];
452+
}
453+
454+
@Override
455+
public boolean isSyntheticRecordMethod() { return false; }
456+
457+
458+
@Override
459+
public IVariableBinding[] getSyntheticOuterLocals() {
460+
return new IVariableBinding[0];
461+
}
462+
463+
@Override
464+
public boolean isCanonicalConstructor() {
465+
return false;
466+
}
467+
468+
@Override
469+
public boolean isCompactConstructor() { return false;}
470+
446471
@Override
447472
public boolean isConstructor() {
448473
return false;

0 commit comments

Comments
 (0)