forked from apache/netbeans
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Netbeans-5734] Fix extraction of jvm-options from domain.xml and rev…
…ert add-opens directives The additions of the "add-opens" arguments for the JVM are not necessary if the jvm-options are correctly extracted from the domain.xml. It was observed, that glassfish cleanly starts with JDK 11, so something strange was going on in the way NetBeans started it. The issue can be tracked down into ServerTasks#appendOptions. In that method variable substitution and proxy adjustments are done. The arguments are stored in a combination of Map argumentName -> value and and a List for the order of the arguments. The issue is the Map, as this limits each argumentName to be present at most once, but there are multiple add-opens directives. Only the last definition survived.
- Loading branch information
1 parent
104207b
commit 3668e87
Showing
3 changed files
with
33 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters