-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
9
-
x86
-
windows_10
-
Verified
FULL PRODUCT VERSION :
java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+136)
Java HotSpot(TM) Server VM (build 9-ea+136, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 10 build 1607
A DESCRIPTION OF THE PROBLEM :
The following is a sample configuration for Forms 12c 12.2.1.1 Java Webstart:
<html>
<a href="jnlp://sp-tstorapp112.egdk.it-corp.net:9001/forms/frmservlet?config=testbsk_webstart">Klik her</a>
</html>
Opening the website and clicking on the link starts Forms 12c fine on JRE 1.8.0_101. But the following exception is thrown on JRE 9 build 136:
java.lang.IllegalAccessError: class oracle.forms.engine.Main (in unnamed module @0x55e5f3) cannot access class sun.awt.SunToolkit (in module java.desktop) because module java.desktop does not export sun.awt to unnamed module @0x55e5f3
at oracle.forms.engine.Main.initDesktop(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.plugin2.uitoolkit.impl.awt.AWTAppletAdapter.start(jdk.plugin@9-ea/AWTAppletAdapter.java:347)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(jdk.plugin@9-ea/Plugin2Manager.java:1992)
at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
REGRESSION. Last worked in version 8u101
ADDITIONAL REGRESSION INFORMATION:
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) Client VM (build 25.101-b13, mixed mode)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Paste the above mentioned code into a test HTML file. Have a Forms 12c configured for Java Webstart available. Insert the correct Java Webstart link in the file. Open the file locally in any browser and click on the link. Forms 12c crashes with the above mentioned error.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Java 9 Webstart should be able to launch Forms 12c without any issues.
ACTUAL -
See exception above.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.lang.IllegalAccessError: class oracle.forms.engine.Main (in unnamed module @0x55e5f3) cannot access class sun.awt.SunToolkit (in module java.desktop) because module java.desktop does not export sun.awt to unnamed module @0x55e5f3
at oracle.forms.engine.Main.initDesktop(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.plugin2.uitoolkit.impl.awt.AWTAppletAdapter.start(jdk.plugin@9-ea/AWTAppletAdapter.java:347)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(jdk.plugin@9-ea/Plugin2Manager.java:1992)
at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
<html>
<a href="jnlp://sp-tstorapp112.egdk.it-corp.net:9001/forms/frmservlet?config=testbsk_webstart">Klik her</a>
</html>
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Don't use JRE 9 EA. I'm reporting this in the hope, that this will be fixed before the final release of Java 9 in either Forms or Java.
java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+136)
Java HotSpot(TM) Server VM (build 9-ea+136, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 10 build 1607
A DESCRIPTION OF THE PROBLEM :
The following is a sample configuration for Forms 12c 12.2.1.1 Java Webstart:
<html>
<a href="jnlp://sp-tstorapp112.egdk.it-corp.net:9001/forms/frmservlet?config=testbsk_webstart">Klik her</a>
</html>
Opening the website and clicking on the link starts Forms 12c fine on JRE 1.8.0_101. But the following exception is thrown on JRE 9 build 136:
java.lang.IllegalAccessError: class oracle.forms.engine.Main (in unnamed module @0x55e5f3) cannot access class sun.awt.SunToolkit (in module java.desktop) because module java.desktop does not export sun.awt to unnamed module @0x55e5f3
at oracle.forms.engine.Main.initDesktop(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.plugin2.uitoolkit.impl.awt.AWTAppletAdapter.start(jdk.plugin@9-ea/AWTAppletAdapter.java:347)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(jdk.plugin@9-ea/Plugin2Manager.java:1992)
at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
REGRESSION. Last worked in version 8u101
ADDITIONAL REGRESSION INFORMATION:
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) Client VM (build 25.101-b13, mixed mode)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Paste the above mentioned code into a test HTML file. Have a Forms 12c configured for Java Webstart available. Insert the correct Java Webstart link in the file. Open the file locally in any browser and click on the link. Forms 12c crashes with the above mentioned error.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Java 9 Webstart should be able to launch Forms 12c without any issues.
ACTUAL -
See exception above.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
java.lang.IllegalAccessError: class oracle.forms.engine.Main (in unnamed module @0x55e5f3) cannot access class sun.awt.SunToolkit (in module java.desktop) because module java.desktop does not export sun.awt to unnamed module @0x55e5f3
at oracle.forms.engine.Main.initDesktop(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.plugin2.uitoolkit.impl.awt.AWTAppletAdapter.start(jdk.plugin@9-ea/AWTAppletAdapter.java:347)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(jdk.plugin@9-ea/Plugin2Manager.java:1992)
at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
<html>
<a href="jnlp://sp-tstorapp112.egdk.it-corp.net:9001/forms/frmservlet?config=testbsk_webstart">Klik her</a>
</html>
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
Don't use JRE 9 EA. I'm reporting this in the hope, that this will be fixed before the final release of Java 9 in either Forms or Java.
- relates to
-
JDK-8164841 JavaScript call into Java Plugin request crossdomain.xml when loading Oracle form applet
-
- Closed
-