Skip to content

Commit ec57fb0

Browse files
authored
Add more module options to default vmoptions file (#194)
If you click the Get Operations button on a Web Service Sender with a bad URL, the server will throw an exception. The chained exceptions get serialized to send back to the client, and that is where these --add-opens are required. The exceptions include both a java.util.concurrent.ExecutionException and a java.io.IOException. Signed-off-by: Kaur Palang <kaur.palang@brightcodecompany.com>
1 parent 60f2da6 commit ec57fb0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/conf/default_modules.vmoptions

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
--add-modules=java.sql.rowset
66
--add-exports=java.base/com.sun.crypto.provider=ALL-UNNAMED
77
--add-exports=java.base/sun.security.provider=ALL-UNNAMED
8+
--add-opens=java.base/java.io=ALL-UNNAMED
89
--add-opens=java.base/java.lang=ALL-UNNAMED
910
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED
1011
--add-opens=java.base/java.math=ALL-UNNAMED
@@ -13,6 +14,7 @@
1314
--add-opens=java.base/java.security.cert=ALL-UNNAMED
1415
--add-opens=java.base/java.text=ALL-UNNAMED
1516
--add-opens=java.base/java.util=ALL-UNNAMED
17+
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED
1618
--add-opens=java.base/sun.security.pkcs=ALL-UNNAMED
1719
--add-opens=java.base/sun.security.rsa=ALL-UNNAMED
1820
--add-opens=java.base/sun.security.x509=ALL-UNNAMED

0 commit comments

Comments
 (0)