Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8064677

LiveConnect blocks access from JavaScript to JavaPlugin in Ubuntu

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Duplicate
    • 7u71
    • None
    • deploy
    • x86
    • linux_ubuntu

    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.

      Attachments

        Activity

          People

            dmarkov Dmitry Markov
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: