Skip to content

Commit

Permalink
Modules changed for Java 19
Browse files Browse the repository at this point in the history
  • Loading branch information
SarikaSinha committed Jun 16, 2022
1 parent 43c20dc commit 9df9196
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2019, 2021 GK Software SE and others.
* Copyright (c) 2019, 2022 GK Software SE and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
Expand All @@ -8,6 +8,10 @@
*
* SPDX-License-Identifier: EPL-2.0
*
* This is an implementation of an early-draft specification developed under the Java
* Community Process (JCP) and is made available for testing and evaluation purposes
* only. The code is not compatible with any specification of the JCP.
*
* Contributors:
* Stephan Herrmann - initial API and implementation
* IBM Corporation - bug fixes
Expand Down Expand Up @@ -106,6 +110,17 @@ public class ModuleOptionsTests extends AbstractDebugTest {
+ "jdk.sctp,jdk.security.auth,jdk.security.jgss,jdk.unsupported,"
+ "jdk.unsupported.desktop," //
+ "jdk.xml.dom";
private static final String ASSUMED_DEFAULT_MODULES_19 = "java.se," //
+ "jdk.accessibility,jdk.attach,jdk.compiler,jdk.dynalink,jdk.httpserver," //
+ "jdk.incubator.vector," // jdk.incubator.foreign removed in 19
+ "jdk.jartool,jdk.javadoc,jdk.jconsole,jdk.jdi," //
+ "jdk.jfr," //
+ "jdk.jshell,jdk.jsobject,jdk.management," //
+ "jdk.management.jfr," //
+ "jdk.net," //
+ "jdk.nio.mapmode," //
+ "jdk.sctp,jdk.security.auth,jdk.security.jgss,jdk.unsupported," + "jdk.unsupported.desktop," //
+ "jdk.xml.dom";


public ModuleOptionsTests(String name) {
Expand Down Expand Up @@ -252,7 +267,7 @@ public void testLimitModules1() throws JavaModelException {
case ASSUMED_DEFAULT_MODULES_16:
expectedModules = "java.se," //
+ "jdk.accessibility," //
+ "jdk.dynalink,"
+ "jdk.dynalink,"
+ "jdk.httpserver," //
+ "jdk.incubator.foreign,jdk.incubator.vector," // jdk.incubator.vector added in 16
+ "jdk.jartool,jdk.jconsole,jdk.jshell," //
Expand All @@ -264,6 +279,19 @@ public void testLimitModules1() throws JavaModelException {
+ "jdk.security.auth,jdk.security.jgss,jdk.unsupported," //
+ "jdk.unsupported.desktop," //
+ "jdk.xml.dom";
case ASSUMED_DEFAULT_MODULES_19:
expectedModules = "java.se," //
+ "jdk.accessibility," //
+ "jdk.dynalink," + "jdk.httpserver," //
+ "jdk.incubator.vector," // jdk.incubator.foreign removed in 19
+ "jdk.jartool,jdk.jconsole,jdk.jshell," //
+ "jdk.jsobject," //
+ "jdk.management.jfr," //
+ "jdk.net," //
+ "jdk.nio.mapmode," //
+ "jdk.sctp," + "jdk.security.auth,jdk.security.jgss,jdk.unsupported," //
+ "jdk.unsupported.desktop," //
+ "jdk.xml.dom";
break;
default:
fail("Unknown set of default modules " + String.join(",", defaultModules));
Expand Down
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@
<profiles>
<profile>
<id>build-individual-bundles</id>
<properties>
<eclipse-p2-repo.url>http://download.eclipse.org/eclipse/updates/Y-builds</eclipse-p2-repo.url>
<skipAPIAnalysis>true</skipAPIAnalysis>
</properties>
<repositories>
<repository>
<releases>
Expand Down

0 comments on commit 9df9196

Please sign in to comment.