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

Jar blocked by "codebase" attribute too uninformative

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 9
    • 7u40, 8, 9
    • deploy
    • windows_7

      FULL PRODUCT VERSION :
      jdk1.7.0_40


      A DESCRIPTION OF THE PROBLEM :
      If a jar contains a restrictive "codebase" attribute, the java plugin will not run it, but is too uninformative about the reason. It says simply "blocked" and the "click for details" button provides no details - it only pops up the java console.

      I realize there is a desire to not be too helpful to persons attempting to misuse
      an applet, but the current behavior is indistinguishable from a broken JRE.

      The message should be "blocked by codebase attribute" or something
      similar, and the "details" should enumerate where the codebase does
      permit running the jar.



      REPRODUCIBILITY :
      This bug can be reproduced always.

        1. d1.png
          d1.png
          11 kB
        2. d2.png
          d2.png
          14 kB

            dtitov Daniil Titov (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: