-
-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing bundles to Demo App for Java 11 compatibility (#1007)
The Demo App can be used with both Java 8 and Java 11 when adding the same runrequires as used with itest projects. The PR also makes the indentation more consistent by using tabs instead of spaces everywhere in app.bndrun. Add add-opens for Java 9+ in separate bndrun file. Signed-off-by: Wouter Born <[email protected]>
- Loading branch information
Showing
2 changed files
with
72 additions
and
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
-include: app.bndrun | ||
|
||
-runee: JavaSE-9 | ||
|
||
-runvm.java9plus: \ | ||
--add-opens java.base/java.io=ALL-UNNAMED,\ | ||
--add-opens java.base/java.lang=ALL-UNNAMED,\ | ||
--add-opens java.base/java.lang.reflect=ALL-UNNAMED,\ | ||
--add-opens java.base/java.net=ALL-UNNAMED,\ | ||
--add-opens java.base/java.security=ALL-UNNAMED,\ | ||
--add-opens java.base/java.text=ALL-UNNAMED,\ | ||
--add-opens java.base/java.util=ALL-UNNAMED,\ | ||
--add-opens java.desktop/java.awt.font=ALL-UNNAMED,\ | ||
--add-opens java.naming/javax.naming.spi=ALL-UNNAMED,\ | ||
--add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED |
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