Skip to content

Commit d3c4284

Browse files
authored
Add Java 27 Constants (eclipse-jdt#4988)
eclipse-jdt#4988
1 parent c735ef4 commit d3c4284

File tree

9 files changed

+22
-14
lines changed

9 files changed

+22
-14
lines changed

org.eclipse.jdt.core.compiler.batch/.settings/.api_filters

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
22
<component id="org.eclipse.jdt.core.compiler.batch" version="2">
3+
<resource path="META-INF/MANIFEST.MF">
4+
<filter id="926941240">
5+
<message_arguments>
6+
<message_argument value="3.46.0"/>
7+
<message_argument value="3.45.0"/>
8+
</message_arguments>
9+
</filter>
10+
</resource>
311
<resource path="src/org/eclipse/jdt/core/compiler/CategorizedProblem.java" type="org.eclipse.jdt.core.compiler.CategorizedProblem">
412
<filter comment="BETA_JAVA22 temporary issue" id="576725006">
513
<message_arguments>

org.eclipse.jdt.core.compiler.batch/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Main-Class: org.eclipse.jdt.internal.compiler.batch.Main
33
Bundle-ManifestVersion: 2
44
Bundle-Name: Eclipse Compiler for Java(TM)
55
Bundle-SymbolicName: org.eclipse.jdt.core.compiler.batch
6-
Bundle-Version: 3.45.100.qualifier
6+
Bundle-Version: 3.46.0.qualifier
77
Bundle-ClassPath: .
88
Bundle-Vendor: Eclipse.org
99
Automatic-Module-Name: org.eclipse.jdt.core.compiler.batch

org.eclipse.jdt.core.compiler.batch/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<version>4.40.0-SNAPSHOT</version>
1818
</parent>
1919
<artifactId>org.eclipse.jdt.core.compiler.batch</artifactId>
20-
<version>3.45.100-SNAPSHOT</version>
20+
<version>3.46.0-SNAPSHOT</version>
2121
<packaging>eclipse-plugin</packaging>
2222

2323
<properties>

org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/classfmt/ClassFileConstants.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ public interface ClassFileConstants {
143143
int MAJOR_VERSION_24 = 68;
144144
int MAJOR_VERSION_25 = 69;
145145
int MAJOR_VERSION_26 = 70;
146+
int MAJOR_VERSION_27 = 71;
146147

147148
int MAJOR_VERSION_0 = 44;
148149
int MAJOR_LATEST_VERSION = MAJOR_VERSION_26;
@@ -182,6 +183,7 @@ public interface ClassFileConstants {
182183
long JDK24 = ((long)ClassFileConstants.MAJOR_VERSION_24 << 16) + ClassFileConstants.MINOR_VERSION_0;
183184
long JDK25 = ((long)ClassFileConstants.MAJOR_VERSION_25 << 16) + ClassFileConstants.MINOR_VERSION_0;
184185
long JDK26 = ((long)ClassFileConstants.MAJOR_VERSION_26 << 16) + ClassFileConstants.MINOR_VERSION_0;
186+
long JDK27 = ((long)ClassFileConstants.MAJOR_VERSION_27 << 16) + ClassFileConstants.MINOR_VERSION_0;
185187

186188
public static long getLatestJDKLevel() {
187189
return ((long)ClassFileConstants.MAJOR_LATEST_VERSION << 16) + ClassFileConstants.MINOR_VERSION_0;

org.eclipse.jdt.core/.settings/.api_filters

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
22
<component id="org.eclipse.jdt.core" version="2">
3-
<resource path="META-INF/MANIFEST.MF">
4-
<filter id="924844039">
5-
<message_arguments>
6-
<message_argument value="3.45.100"/>
7-
<message_argument value="3.45.0"/>
8-
</message_arguments>
9-
</filter>
10-
</resource>
113
<resource path="dom/org/eclipse/jdt/core/dom/AST.java" type="org.eclipse.jdt.core.dom.AST">
124
<filter id="388194388">
135
<message_arguments>

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

Lines changed: 2 additions & 2 deletions
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.core; singleton:=true
5-
Bundle-Version: 3.45.100.qualifier
5+
Bundle-Version: 3.46.0.qualifier
66
Bundle-Activator: org.eclipse.jdt.core.JavaCore
77
Bundle-Vendor: %providerName
88
Bundle-Localization: plugin
@@ -47,7 +47,7 @@ Require-Bundle: org.eclipse.core.resources;bundle-version="[3.22.0,4.0.0)",
4747
org.eclipse.core.filesystem;bundle-version="[1.11.0,2.0.0)",
4848
org.eclipse.text;bundle-version="[3.6.0,4.0.0)",
4949
org.eclipse.team.core;bundle-version="[3.1.0,4.0.0)";resolution:=optional,
50-
org.eclipse.jdt.core.compiler.batch;bundle-version="3.45.100";visibility:=reexport
50+
org.eclipse.jdt.core.compiler.batch;bundle-version="3.46.0";visibility:=reexport
5151
Bundle-RequiredExecutionEnvironment: JavaSE-17
5252
Eclipse-ExtensibleAPI: true
5353
Bundle-ActivationPolicy: lazy

org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/AST.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ public final class AST {
541541
* up to and including Java SE 26(aka JDK 26).
542542
* </p>
543543
*
544-
* @since 3.45
544+
* @since 3.46
545545
*/
546546
public static final int JLS26 = 26;
547547
/**

org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3317,6 +3317,12 @@ public final class JavaCore extends Plugin {
33173317
* @category OptionValue
33183318
*/
33193319
public static final String VERSION_26 = "26"; //$NON-NLS-1$
3320+
/**
3321+
* Configurable option value: {@value}.
3322+
* @since 3.46
3323+
* @category OptionValue
3324+
*/
3325+
public static final String VERSION_27 = "27"; //$NON-NLS-1$
33203326
/**
33213327
* Configurable option value: {@value}.
33223328
* @since 3.4

org.eclipse.jdt.core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<version>4.40.0-SNAPSHOT</version>
1818
</parent>
1919
<artifactId>org.eclipse.jdt.core</artifactId>
20-
<version>3.45.100-SNAPSHOT</version>
20+
<version>3.46.0-SNAPSHOT</version>
2121
<packaging>eclipse-plugin</packaging>
2222

2323
<properties>

0 commit comments

Comments
 (0)