Skip to content

Commit

Permalink
Rely on system-packages of Equinox JRE-1.1 profile
Browse files Browse the repository at this point in the history
With [1] the JRE-1.1 profile embedded in Equinox was updated to have the
expected system-packages.
Therefore the hard-coded ones in PDE can be removed.

[1] - eclipse-equinox/equinox#596
  • Loading branch information
HannesWell committed Apr 16, 2024
1 parent a404764 commit cfac6da
Showing 1 changed file with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -577,30 +577,6 @@ private static Integer readJavaReleaseVersion(String eeId) {
// Old JDKs can for example be obtained from https://www.oracle.com/java/technologies/downloads/archive/
@SuppressWarnings("nls")
private static final Map<String, List<String>> PRE_JAVA_9_SYSTEM_PACKAGES = Map.of(//
"JRE-1.1", List.of("java.applet", //
"java.awt", //
"java.awt.datatransfer", //
"java.awt.event", //
"java.awt.image", //
"java.awt.peer", //
"java.beans", //
"java.io", //
"java.lang", //
"java.lang.reflect", //
"java.math", //
"java.net", //
"java.rmi", //
"java.rmi.dgc", //
"java.rmi.registry", //
"java.rmi.server", //
"java.security", //
"java.security.acl", //
"java.security.interfaces", //
"java.sql", //
"java.text", //
"java.text.resources", //
"java.util", //
"java.util.zip"),
"J2SE-1.2", List.of("java.applet", //
"java.awt", //
"java.awt.color", //
Expand Down

0 comments on commit cfac6da

Please sign in to comment.