Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
a6ec77d
Add Jakarta EE 12 dummy schemas, mdd files, and packages
pepness Mar 27, 2026
debd8d1
Add Jakarta EE 12 API and platform modules
pepness Mar 27, 2026
321e527
Add GlassFish 9 Support
pepness Mar 27, 2026
b5ffdd8
Add Jakarta EE 12 dummy schemas, mdd files
pepness Mar 28, 2026
06d6421
Add missing web-jsptaglibrary files for JSP 4.1
pepness Mar 30, 2026
6ae91f6
Regen signature files that failed `ant check-sigtests` test
pepness Mar 30, 2026
e6a7905
Add support for Jakarta Persistence 4.0
pepness Apr 3, 2026
b05304a
Add support for GlassFish 9 and Jakarta EE 12
pepness Apr 5, 2026
d1794aa
Add Jakarta EE 12 support for Gradle
pepness Apr 5, 2026
7c6c18d
Bump Jakarta EE 11 version to GA
pepness Apr 5, 2026
4b79d8e
Add Jakarta EE 12 API & Platform modules
pepness Apr 5, 2026
5b187fa
Add Jakarta EE 12 support to Maven modules
pepness Apr 5, 2026
b07d8de
Add Jakarta EE 12 support to Wilfly & Tomcat modules
pepness Apr 5, 2026
341a029
Add Jakarta EE 12 support for Payara modules
pepness Apr 5, 2026
5c8911b
Add Jakarta EE 12 support for 'j2ee.clientproject', 'j2ee.common', and
pepness Apr 5, 2026
0c68ffe
Add Jakarta EE 12 support for 'j2ee.dd', and 'j2ee.ddloaders' modules
pepness Apr 5, 2026
f91231a
Add Jakarta EE 12 support for 'j2ee.earproject', 'j2ee.ejbcore',
pepness Apr 5, 2026
27c2ce7
Add Jakarta EE 12 support for 'j2eeserver', 'javaee.project',
pepness Apr 5, 2026
9ba31be
Add Jakarta EE 12 support for 'web.jsf' modules
pepness Apr 5, 2026
79a95bf
Add Jakarta EE 12 support for 'web.project', 'websocket', and
pepness Apr 5, 2026
914b0e5
-Add entry to ignored-overlaps file
pepness Apr 5, 2026
8378f41
-Add brackets to if-else statements
pepness Apr 10, 2026
7ec2245
Change class that id Persistence 4
pepness Apr 11, 2026
ababe37
Use current schemas from jakartaee persistence github
pepness Apr 11, 2026
d50d97e
Update Servlet/JSP API module to Jakarta EE 12
pepness Apr 11, 2026
721fa03
Revert "Use current schemas from jakartaee persistence github"
pepness Apr 12, 2026
a8fffec
Fix 'servletjspapi.dir' generated jars versioning
pepness Apr 13, 2026
e3d18ec
Fix test for Jakarta Enterprise Beans
pepness Apr 15, 2026
5e7a8c9
Fix failed test 'testFromPropertiesString'
pepness Apr 15, 2026
fb78097
Fix failed test 'testGetProvider1'
pepness Apr 15, 2026
d098f1f
Fix failed tests in 'WebModuleImplTest' and RAT report
pepness Apr 15, 2026
4e63037
-Add missing logic for EJB 4.1
pepness Apr 17, 2026
b983fa8
Add missing Jakarta EE 12 logic to 'EjbJarProvider' for ant projects
pepness Apr 17, 2026
718a270
-Replace deprecated methods in 'EjbJarProject' class
pepness Apr 21, 2026
9e993e0
-Add missing GlassFish attributes to layer.xml file
pepness Apr 27, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,37 @@ public JpaSupportImpl(JBJ2eePlatformFactory.J2eePlatformImplImpl platformImpl) {
@Override
public JpaProvider getDefaultProvider() {
String defaultProvider = platformImpl.getDefaultJpaProvider();
boolean jpa2 = platformImpl.isJpa2Available();
return JpaProviderFactory.createJpaProvider(defaultProvider, true, true, jpa2, false, false, false, false, false);
final boolean isDefault = true, isJpa10 = true;
boolean isJpa20 = platformImpl.isJpa2Available();
final boolean isJpa21 = false, isJpa22 = false, isJpa30 = false, isJpa31 = false, isJpa32 = false, isJpa40 = false;
return JpaProviderFactory.createJpaProvider(defaultProvider, isDefault,
isJpa10, isJpa20, isJpa21, isJpa22, isJpa30, isJpa31, isJpa32, isJpa40);
}

@Override
public Set<JpaProvider> getProviders() {
String defaultProvider = platformImpl.getDefaultJpaProvider();
boolean jpa2 = platformImpl.isJpa2Available();
Set<JpaProvider> providers = new HashSet<JpaProvider>();
final boolean isJpa10 = true;
boolean isJpa20 = platformImpl.isJpa2Available();
final boolean isJpa21 = false, isJpa22 = false, isJpa30 = false, isJpa31 = false, isJpa32 = false, isJpa40 = false;
Set<JpaProvider> providers = new HashSet<>(8);
if (platformImpl.containsPersistenceProvider(JBJ2eePlatformFactory.HIBERNATE_JPA_PROVIDER)) {
providers.add(JpaProviderFactory.createJpaProvider(JBJ2eePlatformFactory.HIBERNATE_JPA_PROVIDER,
JBJ2eePlatformFactory.HIBERNATE_JPA_PROVIDER.equals(defaultProvider), true, jpa2, false, false, false, false, false));
providers.add(JpaProviderFactory.createJpaProvider(
JBJ2eePlatformFactory.HIBERNATE_JPA_PROVIDER,
JBJ2eePlatformFactory.HIBERNATE_JPA_PROVIDER.equals(defaultProvider),
isJpa10, isJpa20, isJpa21, isJpa22, isJpa30, isJpa31, isJpa32, isJpa40));
}
if (platformImpl.containsPersistenceProvider(JBJ2eePlatformFactory.TOPLINK_JPA_PROVIDER)) {
providers.add(JpaProviderFactory.createJpaProvider(JBJ2eePlatformFactory.TOPLINK_JPA_PROVIDER,
JBJ2eePlatformFactory.TOPLINK_JPA_PROVIDER.equals(defaultProvider), true, false, false, false, false, false, false));
providers.add(JpaProviderFactory.createJpaProvider(
JBJ2eePlatformFactory.TOPLINK_JPA_PROVIDER,
JBJ2eePlatformFactory.TOPLINK_JPA_PROVIDER.equals(defaultProvider),
isJpa10, isJpa20, isJpa21, isJpa22, isJpa30, isJpa31, isJpa32, isJpa40));
}
if (platformImpl.containsPersistenceProvider(JBJ2eePlatformFactory.KODO_JPA_PROVIDER)) {
providers.add(JpaProviderFactory.createJpaProvider(JBJ2eePlatformFactory.KODO_JPA_PROVIDER,
JBJ2eePlatformFactory.KODO_JPA_PROVIDER.equals(defaultProvider), true, false, false, false, false, false, false));
providers.add(JpaProviderFactory.createJpaProvider(
JBJ2eePlatformFactory.KODO_JPA_PROVIDER,
JBJ2eePlatformFactory.KODO_JPA_PROVIDER.equals(defaultProvider),
isJpa10, isJpa20, isJpa21, isJpa22, isJpa30, isJpa31, isJpa32, isJpa40));
}
return providers;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,30 @@ public JpaSupportImpl(WLJ2eePlatformFactory.J2eePlatformImplImpl platformImpl) {
@Override
public JpaProvider getDefaultProvider() {
String defaultProvider = platformImpl.getDefaultJpaProvider();
return JpaProviderFactory.createJpaProvider(defaultProvider, true, true,
platformImpl.isJpa2Available(), platformImpl.isJpa21Available(), false, false, false, false);
final boolean isDefault = true, isJpa10 = true;
final boolean isJpa20 = platformImpl.isJpa2Available();
final boolean isJpa21 = platformImpl.isJpa21Available();
final boolean isJpa22 = false, isJpa30 = false, isJpa31 = false, isJpa32 = false, isJpa40 = false;
return JpaProviderFactory.createJpaProvider(defaultProvider, isDefault,
isJpa10, isJpa20, isJpa21, isJpa22, isJpa30, isJpa31, isJpa32, isJpa40);
}

@Override
public Set<JpaProvider> getProviders() {
String defaultProvider = platformImpl.getDefaultJpaProvider();
Set<JpaProvider> providers = new HashSet<JpaProvider>();
providers.add(JpaProviderFactory.createJpaProvider(WLJ2eePlatformFactory.OPENJPA_JPA_PROVIDER,
WLJ2eePlatformFactory.OPENJPA_JPA_PROVIDER.equals(defaultProvider), true, false, false, false, false, false, false));
final boolean isJpa10 = true;
final boolean isJpa20 = platformImpl.isJpa2Available();
final boolean isJpa21 = platformImpl.isJpa21Available();
final boolean isJpa22 = false, isJpa30 = false, isJpa31 = false, isJpa32 = false, isJpa40 = false;
Set<JpaProvider> providers = new HashSet<>(4);
providers.add(JpaProviderFactory.createJpaProvider(
WLJ2eePlatformFactory.OPENJPA_JPA_PROVIDER,
WLJ2eePlatformFactory.OPENJPA_JPA_PROVIDER.equals(defaultProvider),
isJpa10, isJpa20, isJpa21, isJpa22, isJpa30, isJpa31, isJpa32, isJpa40));
providers.add(JpaProviderFactory.createJpaProvider(
WLJ2eePlatformFactory.ECLIPSELINK_JPA_PROVIDER,
WLJ2eePlatformFactory.ECLIPSELINK_JPA_PROVIDER.equals(defaultProvider),
true, platformImpl.isJpa2Available(), platformImpl.isJpa21Available(), false, false, false, false));
isJpa10, isJpa20, isJpa21, isJpa22, isJpa30, isJpa31, isJpa32, isJpa40));
return providers;
}

Expand Down
2 changes: 1 addition & 1 deletion enterprise/glassfish.common/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# under the License.

javac.compilerargs=-Xlint -Xlint:-serial
javac.release=11
javac.release=17

test.config.stableBTD.includes=**/*Test.class
test.config.stableBTD.excludes=\
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ STR_7024_SERVER_NAME=GlassFish Server 7.0.24
STR_7025_SERVER_NAME=GlassFish Server 7.0.25
STR_710_SERVER_NAME=GlassFish Server 7.1.0
STR_800_SERVER_NAME=GlassFish Server 8.0.0
STR_900_SERVER_NAME=GlassFish Server 9.0.0

# CommonServerSupport.java
MSG_FLAKEY_NETWORK=<html>Network communication problem<br/>Could not establish \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public final class GlassfishInstanceProvider implements ServerInstanceProvider,
public static final String JAKARTAEE91_DEPLOYER_FRAGMENT = "deployer:gfv610ee9";
public static final String JAKARTAEE10_DEPLOYER_FRAGMENT = "deployer:gfv700ee10";
public static final String JAKARTAEE11_DEPLOYER_FRAGMENT = "deployer:gfv800ee11";
public static final String JAKARTAEE12_DEPLOYER_FRAGMENT = "deployer:gfv900ee12";
public static final String EE6WC_DEPLOYER_FRAGMENT = "deployer:gfv3ee6wc"; // NOI18N
public static final String PRELUDE_DEPLOYER_FRAGMENT = "deployer:gfv3"; // NOI18N
private static String EE6_INSTANCES_PATH = "/GlassFishEE6/Instances"; // NOI18N
Expand All @@ -80,6 +81,7 @@ public final class GlassfishInstanceProvider implements ServerInstanceProvider,
private static String JAKARTAEE91_INSTANCES_PATH = "/GlassFishJakartaEE91/Instances"; // NOI18N
private static String JAKARTAEE10_INSTANCES_PATH = "/GlassFishJakartaEE10/Instances"; // NOI18N
private static String JAKARTAEE11_INSTANCES_PATH = "/GlassFishJakartaEE11/Instances"; // NOI18N
private static String JAKARTAEE12_INSTANCES_PATH = "/GlassFishJakartaEE12/Instances"; // NOI18N
private static String EE6WC_INSTANCES_PATH = "/GlassFishEE6WC/Instances"; // NOI18N

public static String PRELUDE_DEFAULT_NAME = "GlassFish_v3_Prelude"; //NOI18N
Expand All @@ -105,12 +107,12 @@ public static GlassfishInstanceProvider getProvider() {
EE7_DEPLOYER_FRAGMENT, EE8_DEPLOYER_FRAGMENT,
JAKARTAEE8_DEPLOYER_FRAGMENT, JAKARTAEE9_DEPLOYER_FRAGMENT,
JAKARTAEE91_DEPLOYER_FRAGMENT, JAKARTAEE10_DEPLOYER_FRAGMENT,
JAKARTAEE11_DEPLOYER_FRAGMENT},
JAKARTAEE11_DEPLOYER_FRAGMENT, JAKARTAEE12_DEPLOYER_FRAGMENT},
new String[]{EE6_INSTANCES_PATH, EE6WC_INSTANCES_PATH,
EE7_INSTANCES_PATH, EE8_INSTANCES_PATH,
JAKARTAEE8_INSTANCES_PATH, JAKARTAEE9_INSTANCES_PATH,
JAKARTAEE91_INSTANCES_PATH, JAKARTAEE10_INSTANCES_PATH,
JAKARTAEE11_INSTANCES_PATH},
JAKARTAEE11_INSTANCES_PATH, JAKARTAEE12_INSTANCES_PATH},
null,
true,
new String[]{"--nopassword"}, // NOI18N
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,17 @@ public enum ServerDetails {
"https://repo.maven.apache.org/maven2/org/glassfish/main/distributions/glassfish/8.0.0/glassfish-8.0.0.zip", // NOI18N
"https://repo.maven.apache.org/maven2/org/glassfish/main/distributions/glassfish/8.0.0/glassfish-8.0.0.zip", // NOI18N
"http://www.eclipse.org/legal/epl-2.0" //NOI18N
),

/**
* details for an instance of GlassFish Server 9.0.0
*/
GLASSFISH_SERVER_9_0_0(NbBundle.getMessage(ServerDetails.class, "STR_900_SERVER_NAME", new Object[]{}), // NOI18N
GlassfishInstanceProvider.JAKARTAEE12_DEPLOYER_FRAGMENT,
GlassFishVersion.GF_9_0_0,
"https://repo.maven.apache.org/maven2/org/glassfish/main/distributions/glassfish/9.0.0-M1/glassfish-9.0.0-M1.zip", // NOI18N
"https://repo.maven.apache.org/maven2/org/glassfish/main/distributions/glassfish/9.0.0-M1/glassfish-9.0.0-M1.zip", // NOI18N
"http://www.eclipse.org/legal/epl-2.0" //NOI18N
);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ private static int autoregisterGlassFishInstance(String clusterDirValue, String
String deployer = "deployer:gfv3ee6";
String defaultDisplayNamePrefix = "GlassFish Server ";
GlassFishVersion version = ServerUtils.getServerVersion(glassfishRoot);
if (GlassFishVersion.ge(version, GlassFishVersion.GF_8_0_0)) {
if (GlassFishVersion.ge(version, GlassFishVersion.GF_9_0_0)) {
deployer = "deployer:gfv900ee12";
config = "GlassFishJakartaEE12/Instances";
} else if (GlassFishVersion.ge(version, GlassFishVersion.GF_8_0_0)) {
deployer = "deployer:gfv800ee11";
config = "GlassFishJakartaEE11/Instances";
} else if (GlassFishVersion.ge(version, GlassFishVersion.GF_7_0_0)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ STR_710_SERVER_NAME=GlassFish Server 7.1.0
STR_V8_FAMILY_NAME=GlassFish Server
STR_800_SERVER_NAME=GlassFish Server 8.0.0

STR_V9_FAMILY_NAME=GlassFish Server
STR_900_SERVER_NAME=GlassFish Server 9.0.0

LBL_SELECT_BITS=Select
LBL_ChooseOne=Choose server to download:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ public static GlassfishWizardProvider createJakartaEe11() {
"STR_V8_FAMILY_NAME", new Object[]{}) // NOI18N
);
}

public static GlassfishWizardProvider createJakartaEe12() {
return new GlassfishWizardProvider(
org.openide.util.NbBundle.getMessage(GlassfishWizardProvider.class,
"STR_V9_FAMILY_NAME", new Object[]{}) // NOI18N
);
}

private final String displayName;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ public static ServerUtilities getJakartaEe11Utilities() {
return null == gip ? null : new ServerUtilities(gip,
GlassfishWizardProvider.createJakartaEe11());
}

public static ServerUtilities getJakartaEe12Utilities() {
GlassfishInstanceProvider gip = GlassfishInstanceProvider.getProvider();
return null == gip ? null : new ServerUtilities(gip,
GlassfishWizardProvider.createJakartaEe12());
}

// public static ServerUtilities getEe6WCUtilities() {
// GlassfishInstanceProvider gip = GlassfishInstanceProvider.getProvider();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,22 @@
*/
public class AutomaticRegistrationTest {

@Test
public void testRegistrationGF9() {
GlassFishVersion version = GlassFishVersion.GF_9_0_0;
if (GlassFishVersion.ge(version, GlassFishVersion.GF_9_0_0)) {
assertTrue("Success!", true);
} else if (GlassFishVersion.ge(version, GlassFishVersion.GF_6)) {
fail("GF_6");
} else if (GlassFishVersion.ge(version, GlassFishVersion.GF_5_1_0)) {
fail("GF_5_1_0");
} else if (GlassFishVersion.ge(version, GlassFishVersion.GF_5)) {
fail("GF_5");
} else if (GlassFishVersion.ge(version, GlassFishVersion.GF_3_1)) {
fail("GF_3_1");
}
}

@Test
public void testRegistrationGF8() {
GlassFishVersion version = GlassFishVersion.GF_8_0_0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ public final class AppClientVersion extends J2EEBaseVersion {
"11.0", 11000, // NOI18N
"11.0", 11000 // NOI18N
);

/** Represents application-client version 12.0
*/
public static final AppClientVersion APP_CLIENT_12_0 = new AppClientVersion(
"12.0", 12000, // NOI18N
"12.0", 12000 // NOI18N
);

/** Creates a new instance of AppClientVersion
*/
Expand All @@ -102,6 +109,7 @@ private AppClientVersion(String version, int nv, String specVersion, int nsv) {
* than the version passed in as an argument.
* @throws ClassCastException if obj is not a AppClientVersion object.
*/
@Override
public int compareTo(Object obj) {
AppClientVersion target = (AppClientVersion) obj;
return numericCompare(target);
Expand All @@ -128,6 +136,8 @@ public static AppClientVersion getAppClientVersion(String version) {
result = APP_CLIENT_10_0;
} else if(APP_CLIENT_11_0.toString().equals(version)) {
result = APP_CLIENT_11_0;
} else if(APP_CLIENT_12_0.toString().equals(version)) {
result = APP_CLIENT_12_0;
}

return result;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ public final class ApplicationVersion extends J2EEBaseVersion {
"11.0", 11000, // NOI18N
"11.0", 11000 // NOI18N
);

/** Represents application version 12.0
*/
public static final ApplicationVersion APPLICATION_12_0 = new ApplicationVersion(
"12.0", 12000, // NOI18N
"12.0", 12000 // NOI18N
);

/** Creates a new instance of ApplicationVersion
*/
Expand All @@ -102,6 +109,7 @@ private ApplicationVersion(String version, int nv, String specVersion, int nsv)
* than the version passed in as an argument.
* @throws ClassCastException if obj is not a ApplicationVersion object.
*/
@Override
public int compareTo(Object obj) {
ApplicationVersion target = (ApplicationVersion) obj;
return numericCompare(target);
Expand All @@ -124,8 +132,12 @@ public static ApplicationVersion getApplicationVersion(String version) {
result = APPLICATION_8_0;
} else if(APPLICATION_9_0.toString().equals(version)) {
result = APPLICATION_9_0;
}else if(APPLICATION_10_0.toString().equals(version)) {
} else if(APPLICATION_10_0.toString().equals(version)) {
result = APPLICATION_10_0;
} else if(APPLICATION_11_0.toString().equals(version)) {
result = APPLICATION_11_0;
} else if(APPLICATION_12_0.toString().equals(version)) {
result = APPLICATION_12_0;
}

return result;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,14 @@ public final class EjbJarVersion extends J2EEBaseVersion {
"4.0.1", 4010, // NOI18N
"10.0", 10000 // NOI18N
);

/**
* Represents ejbjar version 4.1
*/
public static final EjbJarVersion EJBJAR_4_1 = new EjbJarVersion(
"4.1", 4100, // NOI18N
"12.0", 12000 // NOI18N
);

/** Creates a new instance of EjbJarVersion
*/
Expand Down Expand Up @@ -126,6 +134,10 @@ public static EjbJarVersion getEjbJarVersion(String version) {
result = EJBJAR_3_2_6;
} else if(EJBJAR_4_0.toString().equals(version)) {
result = EJBJAR_4_0;
} else if(EJBJAR_4_0_1.toString().equals(version)) {
result = EJBJAR_4_0_1;
} else if(EJBJAR_4_1.toString().equals(version)) {
result = EJBJAR_4_1;
}

return result;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
import org.openide.util.RequestProcessor;

/**
* Basic Java/Jakarta EE server configuration API support for V2-V8 plugins.
* Basic Java/Jakarta EE server configuration API support for V2-V9 plugins.
* <p/>
* @author Peter Williams, Tomas Kraus
*/
Expand Down Expand Up @@ -489,7 +489,8 @@ void internalSetAppServerVersion(ASDDVersion asVersion) {
"gfv6ee9",
"gfv610ee9",
"gfv700ee10",
"gfv800ee11"
"gfv800ee11",
"gfv900ee12"
};

protected ASDDVersion getTargetAppServerVersion() {
Expand Down Expand Up @@ -542,7 +543,13 @@ static ASDDVersion getInstalledAppServerVersionFromDirectory(File asInstallFolde
boolean geGF6 = false;
boolean geGF7 = false;
boolean geGF8 = false;
if(schemaFolder.exists()){
boolean geGF9 = false;
if(schemaFolder.exists()) {
if(new File(schemaFolder, "jakartaee12.xsd").exists() &&
new File(dtdFolder, "glassfish-web-app_3_0-1.dtd").exists()){
geGF9 = true;
return ASDDVersion.GLASSFISH_9;
}
if(new File(schemaFolder, "jakartaee11.xsd").exists() &&
new File(dtdFolder, "glassfish-web-app_3_0-1.dtd").exists()){
geGF8 = true;
Expand All @@ -564,7 +571,7 @@ static ASDDVersion getInstalledAppServerVersionFromDirectory(File asInstallFolde
return ASDDVersion.GLASSFISH_5_1;
}
}
if (!geGF5 && !geGF6 && !geGF7 && !geGF8 && dtdFolder.exists()) {
if (!geGF5 && !geGF6 && !geGF7 && !geGF8 && !geGF9 && dtdFolder.exists()) {
if (new File(dtdFolder, "glassfish-web-app_3_0-1.dtd").exists()) {
return ASDDVersion.SUN_APPSERVER_10_1;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ public final class J2EEVersion extends J2EEBaseVersion {
public static final J2EEVersion JAKARTAEE_11_0 = new J2EEVersion(
"11.0.0", 110000, // NOI18N
"11.0.0", 110000); // NOI18N

/** Represents Jakarta EE version 12.0.0
*/
public static final J2EEVersion JAKARTAEE_12_0 = new J2EEVersion(
"12.0.0", 120000, // NOI18N
"12.0.0", 120000); // NOI18N

/** Creates a new instance of J2EEVersion
*/
Expand Down Expand Up @@ -141,6 +147,8 @@ public static J2EEVersion getJ2EEVersion(String version) {
result = JAKARTAEE_10_0;
} else if(JAKARTAEE_11_0.toString().equals(version)) {
result = JAKARTAEE_11_0;
} else if(JAKARTAEE_12_0.toString().equals(version)) {
result = JAKARTAEE_12_0;
}

return result;
Expand Down
Loading
Loading