-
Bug
-
Resolution: Fixed
-
P3
-
7u45
-
win7/x86/7u45#224
-
b09
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8023353 | 8 | Daniil Titov | P3 | Closed | Fixed | b112 |
JDK-8034417 | 7u65 | Daniil Titov | P3 | Resolved | Fixed | b01 |
JDK-8026456 | 7u60 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8023355 | 7u51 | Daniil Titov | P3 | Resolved | Fixed | b01 |
JDK-8023591 | 6u71 | Nikolay Gorshkov | P3 | Resolved | Fixed | b01 |
JDK-8023482 | 6u65 | Vladislav Karnaukhov | P3 | Closed | Fixed | b08 |
Steps to reproduce:
1 Install latest jre7u45#224
2 Enable trace and java console from JCP
3 Disable OCSP/CRL check from JCP: Open JCP->Advanced->"Perform certificate revocation checks on: ": Check "Do not check (not recommended)"
4 Load applets that using class attribute to specify applet code:
http://sqeweb.us.oracle.com/net/sqenfs-1/export1/comp/jsn/users/crystal/DO_NOT_REMOVE_ME/jrebug/liveconnect/html/testAccessNonExistentField_Negative.html
5 There will be an unsigned dialog shows up. Click "Run"
6 If you don't see " PASSED : Non existent field noJavaField accessible : undefined" shown in java console, this issue is reproduced.
Source code: http://sqeweb.us.oracle.com/net/sqenfs-1/export1/comp/jsn/users/crystal/DO_NOT_REMOVE_ME/jrebug/liveconnect/src/JS2JavaExceptionApplet.java
Note:
1) It works fine with 7u40 when use class attribute:
1 Install latest jre7u40
2 Enable trace and java console from JCP
3 Disable OCSP/CRL check from JCP: Open JCP->Advanced->"Perform certificate revocation checks on: ": Check "Do not check (not recommended)"
4 Load applets that using class attribute to specify applet code:
http://sqeweb.us.oracle.com/net/sqenfs-1/export1/comp/jsn/users/crystal/DO_NOT_REMOVE_ME/jrebug/liveconnect/html/testAccessNonExistentField_Negative.html
5 There will be an unsigned dialog shows up. Click "Run"
6 You will see " PASSED : Non existent field noJavaField accessible : undefined" shown in java console
2) Liveconnect call from JS to java is allowed when applet is using jar files instead of class attribute.
steps to reproduce:
1 Install 7u45
2 Enable trace and java console from JCP
3 Load an applet that using unsigned jar instead of class attribute to specify applet code:
http://sqeweb.us.oracle.com/net/sqenfs-1/export1/comp/jsn/users/crystal/DO_NOT_REMOVE_ME/jrebug/liveconnect/html/test_JS2SJ_Unsigned_Sandbox.html
4 In above applet, js -> unsigend java (jar) from same domain
5 A unsigned dialog will show up. Click "Run"
6 You will see ">>>Result is true Cause: method MixedCodeApplet.fromJS get called successfully from JS" shows up in java console(this means that JS to unsigned jar call is allowed)
- backported by
-
JDK-8023355 Liveconnect call from JS to java is failed when applet is using class attribute with latest 7u45
- Resolved
-
JDK-8023591 Liveconnect call from JS to java is failed when applet is using class attribute with latest 7u45
- Resolved
-
JDK-8026456 Liveconnect call from JS to java is failed when applet is using class attribute with latest 7u45
- Resolved
-
JDK-8034417 Liveconnect call from JS to java is failed when applet is using class attribute with latest 7u45
- Resolved
-
JDK-8023353 Liveconnect call from JS to java is failed when applet is using class attribute with latest 7u45
- Closed
-
JDK-8023482 Liveconnect call from JS to java is failed when applet is using class attribute with latest 7u45
- Closed
- duplicates
-
JDK-8023011 Liveconnect is broken in 6u65 since b03
- Closed
-
JDK-8023100 The NSStyle.css file don't show in Java Console window
- Closed
-
JDK-8023099 We can't see a small window with 'Congratulation' pop-up
- Closed