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

7u51 still shows Applet Security Warnings talks about "blocked in future version"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 7u45, 7u51
    • Fix Version/s: None
    • Component/s: deploy
    • Subcomponent:
    • OS:
      windows_7

      Description

      FULL PRODUCT VERSION :
      java version "1.7.0_51"
      Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
      Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)
      NB: the bug entry form does not allow to specify 7U51!
      7U60EA has the same problem.

      ADDITIONAL OS VERSION INFORMATION :
      Win7 (x64) DE
       
      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Firefox 26


      A DESCRIPTION OF THE PROBLEM :
      When trying to start a Applet with full permissions which does not have the permissions attribute in the main JAR, the start splash screen still shows the warning that future versions of Java will not start it. However the future is now, and 7U51 will throw an error in the next step.



      REGRESSION. Last worked in version 7u45

      ADDITIONAL REGRESSION INFORMATION:
      In 7U45 the message was correct, in 7U51 it is no longer correct to show it.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Navigate to a Applet which is incorrectly built and requests full permissions.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The Applet Detail screen should show a "might not work in futrue versions" but "does not work in this version"
      ACTUAL -
      A warning and a error when clicking on the execute button.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      (unexpected)
      Diese Anwendung wird in einem zuk??nftigen Java-Sicherheitsupdate blockiert, weil das Manifest der JAR-Datei nicht das Attribut "Berechtigungen" enth??lt. Weitere Informationen erhalten Sie vom Anbieter. Weitere Informationen

      (expected)
      java.lang.SecurityException: Missing required Permissions manifest attribute in main jar: http://webplayer.unity3d.com/download_webplayer-3.x/3.0/jws/UnityWebPlayer.jar
      at com.sun.deploy.security.DeployManifestChecker.verifyMainJar(Unknown Source)
      at com.sun.deploy.security.DeployManifestChecker.verifyMainJar(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.isAppletTrusted(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)


      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      No workaround needed, only the displayed warning is wrong.

        Attachments

        1. Blocked.png
          Blocked.png
          10 kB
        2. Exception.png
          Exception.png
          9 kB
        3. Screen Shot 2014-01-15 at 12.28.58 PM.png
          Screen Shot 2014-01-15 at 12.28.58 PM.png
          127 kB
        4. Warning.png
          Warning.png
          21 kB

          Issue Links

            Activity

              People

              • Assignee:
                dtitov Daniil Titov
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: