Skip to content

Commit

Permalink
Merge pull request fujitsu#51 from tnagao7/add-opens-internal-loader
Browse files Browse the repository at this point in the history
Fix reflection error on java.base/jdk.internal.loader
  • Loading branch information
tnagao7 authored Jun 23, 2022
2 parents a03e9a8 + 8484a20 commit fcbdea2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion launcher-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
<manifestEntries>
<Main-Class>com.fujitsu.launcher.LauncherMain</Main-Class>
<!-- do not forget to update uber-jar_MANIFEST.MF -->
<Add-Opens>java.base/java.lang java.base/java.lang.invoke java.base/java.util java.base/sun.net.www.protocol.jar java.naming/javax.naming.spi java.rmi/sun.rmi.transport java.xml/com.sun.org.apache.bcel.internal.classfile</Add-Opens>
<Add-Opens>java.base/java.lang java.base/java.lang.invoke java.base/java.util java.base/jdk.internal.loader java.base/sun.net.www.protocol.jar java.naming/javax.naming.spi java.rmi/sun.rmi.transport java.xml/com.sun.org.apache.bcel.internal.classfile</Add-Opens>
<Multi-Release>true</Multi-Release>
</manifestEntries>
</transformer>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Manifest-Version: 1.0
Bundle-SymbolicName: org.glassfish.main.embedded.web
Main-Class: com.fujitsu.launcher.uberjar.Launcher
Add-Opens: java.base/java.lang java.base/java.lang.invoke java.base/java.util java.base/sun.net.www.protocol.jar java.naming/javax.naming.spi java.rmi/sun.rmi.transport java.xml/com.sun.org.apache.bcel.internal.classfile
Multi-Release: true
Add-Opens: java.base/java.lang java.base/java.lang.invoke java.base/java.util java.base/jdk.internal.loader java.base/sun.net.www.protocol.jar java.naming/javax.naming.spi java.rmi/sun.rmi.transport java.xml/com.sun.org.apache.bcel.internal.classfile
Multi-Release: true

0 comments on commit fcbdea2

Please sign in to comment.