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

Got an extra blocked dialog, if applet is running on local host and trying to access the insecurity property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 8u20
    • deploy
    • win7 x86, win7 x64, jre8u20 b25 x86 and x64, IE 9

      The sandbox applet is signed with valid cert and it is trying to read "java.test.blah". After accepting the signed sandbox security dialog there is another blocked dialog coming out. According to the trace, the applet is actually got launched. This blocked dialog is extra and it is not blocking the applet.
      The same applet deployed on no-local server doesn't have such an issue. Looks like only the applet deployed on local tomcat can reproduce it.

      Steps to reproduce:
      1) Download http://sqeweb.us.oracle.com/deployment2/sheldon/webCases/JavaPolicyFile/JavaPolicyFile.zip
      2) Unzip it and deploy it to local tomcat
      3) Import cert into User Level Signer CA.
      4) Launch the applet from browser.http://127.0.0.1:8080/JavaPolicyFile/html/testSysPropAccessNegative.html
      5) Accept the sanbox signed security dialog.
      6) If another blocked dialog comes out, bug is reproducible.

      Note:
      1) if launch the applet from
       http://sqeweb.us.oracle.com/deployment2/sheldon/webCases/JavaPolicyFile/html/testSysPropAccessNegative.html, no such a dialog.

        1. screen.jpg
          screen.jpg
          113 kB
        2. trace.txt
          10 kB

            dtitov Daniil Titov (Inactive)
            yanqchen Sheldon Chen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: