JDK-8064677 : LiveConnect blocks access from JavaScript to JavaPlugin in Ubuntu
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 7u71
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: linux_ubuntu
  • CPU: x86
  • Submitted: 2014-11-11
  • Updated: 2015-01-13
  • Resolved: 2015-01-13
Description
FULL PRODUCT VERSION :
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

FULL OS VERSION :
Linux 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


EXTRA RELEVANT SYSTEM CONFIGURATION :
Reproduced in Ubuntu 14.04 32/64 bit.

A DESCRIPTION OF THE PROBLEM :
Starting from Java version 7u71:
Calls from JavaScript to Java Plugin are blocked with the following message:
liveconnect: Security Exception: JavaScript from http://ajaxbrowser.com/ attempted to access a resource it has no rights to.

The issue doesn't happens in Windows, OS X, or RHEL - reproduced only in Ubuntu.



THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try

THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Did not try

REGRESSION.  Last worked in version 7u67

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Go to http://ajaxbrowser.com/
2. Right click any of the files in the AJAX File Browser window on the web page, and choose 'edit document'.
3. Confirm action in various security dialogs.

EXPECTED VERSUS ACTUAL BEHAVIOR :
Expected result:
Java applet should attempt to open the file in appropriate application.

Actual result:
Calls from JavaScript to Java Plugin are blocked and no action is taken by Java applet.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
liveconnect: Security Exception: JavaScript from http://ajaxbrowser.com/ attempted to access a resource it has no rights to.

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Downgrade to Java 7u67.


Comments
Closing as dupe of JDK-8058697
13-01-2015

Seems to be a duplicate of JDK-8058697
13-01-2015

Redirecting to deply->plugin for evaluation. This has nothing to do with hotspot.
12-11-2014