Skip to content

Commit aa25bec

Browse files
committed
Move the bundles that depend on jdt.debug to JavaSE-21
1 parent af92157 commit aa25bec

File tree

40 files changed

+102
-84
lines changed

40 files changed

+102
-84
lines changed

org.eclipse.jdt.apt.pluggable.tests/.classpath

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21">
44
<attributes>
55
<attribute name="module" value="true"/>
66
</attributes>

org.eclipse.jdt.apt.pluggable.tests/.settings/org.eclipse.jdt.core.prefs

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
1919
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
2020
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
2121
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
22-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
22+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
2323
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
24-
org.eclipse.jdt.core.compiler.compliance=17
24+
org.eclipse.jdt.core.compiler.compliance=21
2525
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
2626
org.eclipse.jdt.core.compiler.debug.localVariable=generate
2727
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
@@ -124,6 +124,6 @@ org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
124124
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
125125
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
126126
org.eclipse.jdt.core.compiler.release=enabled
127-
org.eclipse.jdt.core.compiler.source=17
127+
org.eclipse.jdt.core.compiler.source=21
128128
org.eclipse.jdt.core.incompatibleJDKLevel=ignore
129129
org.eclipse.jdt.core.incompleteClasspath=error

org.eclipse.jdt.apt.pluggable.tests/META-INF/MANIFEST.MF

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ Require-Bundle: org.junit,
1717
org.eclipse.ui.ide
1818
Bundle-ActivationPolicy: lazy
1919
Bundle-Vendor: %providerName
20-
Bundle-RequiredExecutionEnvironment: JavaSE-17
20+
Bundle-RequiredExecutionEnvironment: JavaSE-21
2121
Eclipse-BundleShape: dir
2222
Automatic-Module-Name: org.eclipse.jdt.apt.pluggable.tests

org.eclipse.jdt.apt.pluggable.tests/src/org/eclipse/jdt/apt/pluggable/tests/PerformanceTests.java

+24-21
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,14 @@ public class PerformanceTests extends TestBase
3535
private final static int PAUSE_TIME = 2000; // milliseconds to wait for indexer
3636
private final static boolean INCLUDE_APT_DISABLED = true;
3737

38-
private final static String CMD_PROFILER_PREFIX = "java -jar c:/opt/yourkit-8.0.13/lib/yjp-controller-api-redist.jar localhost 10001";
39-
private final static String CMD_START_CPU_PROFILING = CMD_PROFILER_PREFIX + " start-cpu-sampling noj2ee";
40-
private final static String CMD_STOP_CPU_PROFILING = CMD_PROFILER_PREFIX + " stop-cpu-profiling";
41-
private final static String CMD_PERF_SNAPSHOT = CMD_PROFILER_PREFIX + " capture-performance-snapshot";
42-
private final static String CMD_HEAP_SNAPSHOT = CMD_PROFILER_PREFIX + " capture-memory-snapshot";
38+
private final static String JAVA = "java";
39+
private final static String JAR = "-jar";
40+
private final static String YOURKIT_CMD = "c:/opt/yourkit-8.0.13/lib/yjp-controller-api-redist.jar localhost 10001";
41+
42+
private final static String[] CMD_START_CPU_PROFILING_AS_ARRAY = new String[]{JAVA, JAR, YOURKIT_CMD, "start-cpu-sampling noj2ee"};
43+
private final static String[] CMD_STOP_CPU_PROFILING_AS_ARRAY = new String[]{JAVA, JAR, YOURKIT_CMD, "stop-cpu-profiling"};
44+
private final static String[] CMD_PERF_SNAPSHOT_AS_ARRAY = new String[]{JAVA, JAR, YOURKIT_CMD, "capture-performance-snapshot"};
45+
private final static String[] CMD_HEAP_SNAPSHOT_AS_ARRAY = new String[]{JAVA, JAR, YOURKIT_CMD, "capture-memory-snapshot"};
4346

4447
public PerformanceTests(String name) {
4548
super(name);
@@ -158,14 +161,14 @@ public void testBoringFiles() throws Exception
158161
if (INCLUDE_APT_DISABLED) {
159162
AptConfig.setEnabled(jproj, false);
160163
startNanos = System.nanoTime();
161-
run.exec(CMD_START_CPU_PROFILING).waitFor();
164+
run.exec(CMD_START_CPU_PROFILING_AS_ARRAY).waitFor();
162165
fullBuild( project.getFullPath() );
163166
if (VERBOSE) {
164167
System.out
165168
.println("APT disabled: full build took " + ((System.nanoTime() - startNanos) / 1_000_000L) + " ms");
166169
}
167-
run.exec(CMD_PERF_SNAPSHOT).waitFor();
168-
run.exec(CMD_STOP_CPU_PROFILING).waitFor();
170+
run.exec(CMD_PERF_SNAPSHOT_AS_ARRAY).waitFor();
171+
run.exec(CMD_STOP_CPU_PROFILING_AS_ARRAY).waitFor();
169172
expectingNoProblems();
170173
}
171174

@@ -181,7 +184,7 @@ public void testBoringFiles() throws Exception
181184
System.out.println("full build took " + ((System.nanoTime() - startNanos) / 1_000_000L) + " ms");
182185
System.out.println("Taking heap snapshot");
183186
}
184-
run.exec(CMD_HEAP_SNAPSHOT).waitFor();
187+
run.exec(CMD_HEAP_SNAPSHOT_AS_ARRAY).waitFor();
185188
expectingNoProblems();
186189

187190
System.gc();
@@ -191,13 +194,13 @@ public void testBoringFiles() throws Exception
191194
startNanos = System.nanoTime();
192195
if (VERBOSE)
193196
System.out.println("APT enabled: starting full build");
194-
run.exec(CMD_START_CPU_PROFILING).waitFor();
197+
run.exec(CMD_START_CPU_PROFILING_AS_ARRAY).waitFor();
195198
fullBuild( project.getFullPath() );
196199
if (VERBOSE) {
197200
System.out.println("full build took " + ((System.nanoTime() - startNanos) / 1_000_000L) + " ms");
198201
}
199-
run.exec(CMD_PERF_SNAPSHOT).waitFor();
200-
run.exec(CMD_STOP_CPU_PROFILING).waitFor();
202+
run.exec(CMD_PERF_SNAPSHOT_AS_ARRAY).waitFor();
203+
run.exec(CMD_STOP_CPU_PROFILING_AS_ARRAY).waitFor();
201204
expectingNoProblems();
202205

203206
System.gc();
@@ -207,13 +210,13 @@ public void testBoringFiles() throws Exception
207210
startNanos = System.nanoTime();
208211
if (VERBOSE)
209212
System.out.println("APT enabled: starting full build");
210-
run.exec(CMD_START_CPU_PROFILING).waitFor();
213+
run.exec(CMD_START_CPU_PROFILING_AS_ARRAY).waitFor();
211214
fullBuild( project.getFullPath() );
212215
if (VERBOSE) {
213216
System.out.println("full build took " + ((System.nanoTime() - startNanos) / 1_000_000L) + " ms");
214217
}
215-
run.exec(CMD_PERF_SNAPSHOT).waitFor();
216-
run.exec(CMD_STOP_CPU_PROFILING).waitFor();
218+
run.exec(CMD_PERF_SNAPSHOT_AS_ARRAY).waitFor();
219+
run.exec(CMD_STOP_CPU_PROFILING_AS_ARRAY).waitFor();
217220
expectingNoProblems();
218221

219222
// Now delete the project!
@@ -241,13 +244,13 @@ public void _testInterestingFilesWithJ6() throws Exception
241244
if (INCLUDE_APT_DISABLED) {
242245
AptConfig.setEnabled(jproj, false);
243246
long startNanos = System.nanoTime();
244-
run.exec(CMD_START_CPU_PROFILING).waitFor();
247+
run.exec(CMD_START_CPU_PROFILING_AS_ARRAY).waitFor();
245248
fullBuild( project.getFullPath() );
246249
if (VERBOSE)
247250
System.out.println(
248251
"APT disabled: full build took " + ((System.nanoTime() - startNanos) / 1_000_000L) + " ms");
249-
run.exec(CMD_PERF_SNAPSHOT).waitFor();
250-
run.exec(CMD_STOP_CPU_PROFILING).waitFor();
252+
run.exec(CMD_PERF_SNAPSHOT_AS_ARRAY).waitFor();
253+
run.exec(CMD_STOP_CPU_PROFILING_AS_ARRAY).waitFor();
251254
expectingNoProblems();
252255
}
253256

@@ -258,12 +261,12 @@ public void _testInterestingFilesWithJ6() throws Exception
258261
long startNanos = System.nanoTime();
259262
if (VERBOSE)
260263
System.out.println("APT enabled: starting full build");
261-
run.exec(CMD_START_CPU_PROFILING).waitFor();
264+
run.exec(CMD_START_CPU_PROFILING_AS_ARRAY).waitFor();
262265
fullBuild( project.getFullPath() );
263266
if (VERBOSE)
264267
System.out.println("full build took " + ((System.nanoTime() - startNanos) / 1_000_000L) + " ms");
265-
run.exec(CMD_PERF_SNAPSHOT).waitFor();
266-
run.exec(CMD_STOP_CPU_PROFILING).waitFor();
268+
run.exec(CMD_PERF_SNAPSHOT_AS_ARRAY).waitFor();
269+
run.exec(CMD_STOP_CPU_PROFILING_AS_ARRAY).waitFor();
267270
expectingNoProblems();
268271

269272
// Now delete the project!

org.eclipse.jdt.apt.tests/.classpath

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21">
44
<attributes>
55
<attribute name="module" value="true"/>
66
</attributes>

org.eclipse.jdt.apt.tests/.settings/org.eclipse.jdt.core.prefs

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
1919
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
2020
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
2121
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
22-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
22+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
2323
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
24-
org.eclipse.jdt.core.compiler.compliance=17
24+
org.eclipse.jdt.core.compiler.compliance=21
2525
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
2626
org.eclipse.jdt.core.compiler.debug.localVariable=generate
2727
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
@@ -124,6 +124,6 @@ org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
124124
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
125125
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
126126
org.eclipse.jdt.core.compiler.release=enabled
127-
org.eclipse.jdt.core.compiler.source=17
127+
org.eclipse.jdt.core.compiler.source=21
128128
org.eclipse.jdt.core.incompatibleJDKLevel=ignore
129129
org.eclipse.jdt.core.incompleteClasspath=error

org.eclipse.jdt.apt.tests/META-INF/MANIFEST.MF

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Require-Bundle: org.junit,
4141
org.eclipse.core.runtime,
4242
org.eclipse.test.performance
4343
Bundle-ActivationPolicy: lazy
44-
Bundle-RequiredExecutionEnvironment: JavaSE-17
44+
Bundle-RequiredExecutionEnvironment: JavaSE-21
4545
Bundle-Vendor: %providerName
4646
Eclipse-BundleShape: dir
4747
Automatic-Module-Name: org.eclipse.jdt.apt.tests

org.eclipse.jdt.apt.tests/src/org/eclipse/jdt/apt/tests/APTTestBase.java

+1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ protected void tearDown()
125125
super.tearDown();
126126
}
127127

128+
@SuppressWarnings("removal")
128129
private static void runFinalizers() {
129130
// GC in an attempt to release file lock on Classes.jar
130131
System.gc();

org.eclipse.jdt.apt.tests/src/org/eclipse/jdt/apt/tests/PerfTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
import java.io.IOException;
2222
import java.io.InputStream;
2323
import java.net.MalformedURLException;
24-
import java.net.URL;
24+
import java.net.URI;
2525
import java.nio.file.Files;
2626
import java.nio.file.StandardCopyOption;
2727
import java.util.zip.ZipInputStream;
@@ -89,7 +89,7 @@ private static File fetchFromBinariesProject(String nameInProject, long size) th
8989
File tempFile = new File(tmpRoot, nameInProject);
9090
if (!tempFile.isFile() || tempFile.length() != size) {
9191
String githubUrl = GITHUB_TESTS_BINARIES + nameInProject;
92-
try(BufferedInputStream bin = new BufferedInputStream(new URL(githubUrl).openStream())){
92+
try(BufferedInputStream bin = new BufferedInputStream(URI.create(githubUrl).toURL().openStream())){
9393
Files.copy(bin, tempFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
9494
}
9595
}

org.eclipse.jdt.apt.ui/.classpath

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21">
44
<attributes>
55
<attribute name="module" value="true"/>
66
</attributes>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<component id="org.eclipse.jdt.apt.ui" version="2">
3+
<resource path="META-INF/MANIFEST.MF">
4+
<filter id="930086955">
5+
<message_arguments>
6+
<message_argument value="3.8.600"/>
7+
<message_argument value="3.8.500"/>
8+
</message_arguments>
9+
</filter>
10+
</resource>
11+
</component>

org.eclipse.jdt.apt.ui/.settings/org.eclipse.jdt.core.prefs

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nul
1515
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
1616
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
1717
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
18-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
18+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
1919
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
20-
org.eclipse.jdt.core.compiler.compliance=17
20+
org.eclipse.jdt.core.compiler.compliance=21
2121
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
2222
org.eclipse.jdt.core.compiler.debug.localVariable=generate
2323
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
@@ -123,6 +123,6 @@ org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
123123
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
124124
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
125125
org.eclipse.jdt.core.compiler.release=enabled
126-
org.eclipse.jdt.core.compiler.source=17
126+
org.eclipse.jdt.core.compiler.source=21
127127
org.eclipse.jdt.core.incompatibleJDKLevel=ignore
128128
org.eclipse.jdt.core.incompleteClasspath=error

org.eclipse.jdt.apt.ui/META-INF/MANIFEST.MF

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: %pluginName
44
Bundle-SymbolicName: org.eclipse.jdt.apt.ui; singleton:=true
5-
Bundle-Version: 3.8.500.qualifier
5+
Bundle-Version: 3.8.600.qualifier
66
Bundle-Activator: org.eclipse.jdt.apt.ui.internal.AptUIPlugin
77
Bundle-Localization: plugin
88
Require-Bundle: org.eclipse.jdt.apt.core;bundle-version="[3.6.0,4.0.0)",
@@ -14,7 +14,7 @@ Require-Bundle: org.eclipse.jdt.apt.core;bundle-version="[3.6.0,4.0.0)",
1414
org.eclipse.ui.forms;bundle-version="[3.2.0,4.0.0)"
1515
Bundle-ActivationPolicy: lazy
1616
Bundle-Vendor: %providerName
17-
Bundle-RequiredExecutionEnvironment: JavaSE-17
17+
Bundle-RequiredExecutionEnvironment: JavaSE-21
1818
Export-Package: org.eclipse.jdt.apt.ui.internal;x-internal:=true,
1919
org.eclipse.jdt.apt.ui.internal.preferences;x-internal:=true,
2020
org.eclipse.jdt.apt.ui.internal.util;x-internal:=true

org.eclipse.jdt.compiler.apt.tests/.classpath

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21">
44
<attributes>
55
<attribute name="module" value="true"/>
66
<attribute name="limit-modules" value="java.xml"/>

org.eclipse.jdt.compiler.apt.tests/.settings/org.eclipse.jdt.core.prefs

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
1919
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
2020
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
2121
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
22-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
22+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
2323
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
24-
org.eclipse.jdt.core.compiler.compliance=17
24+
org.eclipse.jdt.core.compiler.compliance=21
2525
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
2626
org.eclipse.jdt.core.compiler.debug.localVariable=generate
2727
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
@@ -124,6 +124,6 @@ org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
124124
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
125125
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
126126
org.eclipse.jdt.core.compiler.release=enabled
127-
org.eclipse.jdt.core.compiler.source=17
127+
org.eclipse.jdt.core.compiler.source=21
128128
org.eclipse.jdt.core.incompatibleJDKLevel=ignore
129129
org.eclipse.jdt.core.incompleteClasspath=error

org.eclipse.jdt.compiler.apt.tests/META-INF/MANIFEST.MF

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Bundle-SymbolicName: org.eclipse.jdt.compiler.apt.tests;singleton:=true
55
Bundle-Version: 1.3.700.qualifier
66
Bundle-Vendor: %providerName
77
Bundle-Localization: plugin
8-
Bundle-RequiredExecutionEnvironment: JavaSE-17
8+
Bundle-RequiredExecutionEnvironment: JavaSE-21
99
Require-Bundle: org.junit,
1010
org.eclipse.core.resources,
1111
org.eclipse.core.runtime,

org.eclipse.jdt.compiler.apt.tests/src/org/eclipse/jdt/compiler/apt/tests/FileManagerTests.java

+1
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ public void testBug514121_getClassloader_close() throws Exception {
225225
assertNull(loader.findResource("jarresource.txt")); // assert the classloader is closed
226226
}
227227

228+
@SuppressWarnings("removal")
228229
public void testBug573287_ArchiveFileObject_openInputStream() throws Exception {
229230
Path dir = Files.createTempDirectory("repro573287-");
230231
Path target = dir.resolve("copy573287.zip");

org.eclipse.jdt.compiler.tool.tests/.classpath

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21">
44
<attributes>
55
<attribute name="module" value="true"/>
66
<attribute name="limit-modules" value="java.xml,java.logging"/>

org.eclipse.jdt.compiler.tool.tests/.settings/org.eclipse.jdt.core.prefs

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
1919
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
2020
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
2121
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
22-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
22+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
2323
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
24-
org.eclipse.jdt.core.compiler.compliance=17
24+
org.eclipse.jdt.core.compiler.compliance=21
2525
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
2626
org.eclipse.jdt.core.compiler.debug.localVariable=generate
2727
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
@@ -124,6 +124,6 @@ org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
124124
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
125125
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
126126
org.eclipse.jdt.core.compiler.release=enabled
127-
org.eclipse.jdt.core.compiler.source=17
127+
org.eclipse.jdt.core.compiler.source=21
128128
org.eclipse.jdt.core.incompatibleJDKLevel=ignore
129129
org.eclipse.jdt.core.incompleteClasspath=error

org.eclipse.jdt.compiler.tool.tests/META-INF/MANIFEST.MF

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Bundle-SymbolicName: org.eclipse.jdt.compiler.tool.tests
55
Bundle-Version: 1.4.700.qualifier
66
Bundle-Vendor: %providerName
77
Bundle-Localization: plugin
8-
Bundle-RequiredExecutionEnvironment: JavaSE-17
8+
Bundle-RequiredExecutionEnvironment: JavaSE-21
99
Require-Bundle: org.eclipse.jdt.core;bundle-version="[3.40.0,4.0.0)",
1010
org.junit,
1111
org.eclipse.core.resources,

org.eclipse.jdt.core.tests.builder/.classpath

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<classpath>
3-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-21">
44
<attributes>
55
<attribute name="module" value="true"/>
66
</attributes>

org.eclipse.jdt.core.tests.builder/.settings/org.eclipse.jdt.core.prefs

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ org.eclipse.jdt.core.compiler.annotation.nullable.secondary=
1919
org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled
2020
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
2121
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
22-
org.eclipse.jdt.core.compiler.codegen.targetPlatform=17
22+
org.eclipse.jdt.core.compiler.codegen.targetPlatform=21
2323
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
24-
org.eclipse.jdt.core.compiler.compliance=17
24+
org.eclipse.jdt.core.compiler.compliance=21
2525
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
2626
org.eclipse.jdt.core.compiler.debug.localVariable=generate
2727
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
@@ -137,6 +137,6 @@ org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore
137137
org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
138138
org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
139139
org.eclipse.jdt.core.compiler.release=enabled
140-
org.eclipse.jdt.core.compiler.source=17
140+
org.eclipse.jdt.core.compiler.source=21
141141
org.eclipse.jdt.core.incompatibleJDKLevel=ignore
142142
org.eclipse.jdt.core.incompleteClasspath=error

org.eclipse.jdt.core.tests.builder/META-INF/MANIFEST.MF

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Require-Bundle: org.junit;bundle-version="3.8.1",
1616
org.eclipse.test.performance;bundle-version="[3.1.0,4.0.0)",
1717
org.eclipse.jdt.annotation;bundle-version="[2.0.0,3.0.0)";resolution:=optional,
1818
org.eclipse.jdt.apt.core
19-
Bundle-RequiredExecutionEnvironment: JavaSE-17
19+
Bundle-RequiredExecutionEnvironment: JavaSE-21
2020
Eclipse-BundleShape: dir
2121
Automatic-Module-Name: org.eclipse.jdt.core.tests.builder

0 commit comments

Comments
 (0)