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

Security excption while running Brickbreaker in applet mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • fx2.0
    • fx2.0
    • javafx

      Java Plug-in 10.0.1.255
      Using JRE version 1.6.0_26-b03 Java HotSpot(TM) Client VM
      User home directory = C:\Users\kwwong
      ----------------------------------------------------
      c: clear console window
      f: finalize objects on finalization queue
      g: garbage collect
      h: display this help message
      l: dump classloader list
      m: print memory usage
      o: trigger logging
      q: hide console
      r: reload policy configuration
      s: dump system and deployment properties
      t: dump thread list
      v: dump thread stack
      x: clear classloader cache
      0-5: set trace level to <n>
      ----------------------------------------------------
      security: Class NTLMAuthenticationCallback is not available
      security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.
      security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
      security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws
      security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
      security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy
      security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
      security: property package.definition value null
      security: property package.definition new value com.sun.javaws
      security: property package.definition value com.sun.javaws
      security: property package.definition new value com.sun.javaws,com.sun.deploy
      security: property package.definition value com.sun.javaws,com.sun.deploy
      security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
      security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
      security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
      security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
      security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
      network: Created version ID: 1.6.0.26
      network: Created version ID: 1.6
      temp: new XMLParser with source:
      temp: <?xml version="1.0" encoding="utf-8"?>

      <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="BrickBreaker.jnlp">

        <information>

          <title>Sample app: BrickBreaker</title>

          <vendor>Oracle</vendor>

          <description>Sample JavaFX 2.0 application.</description>

          <offline-allowed/>

        </information>

      <resources os="Windows" arch="x86">

          <jfx:javafx-runtime version="2.0+" href="http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe "/>

      </resources>

      <resources os="Windows" arch="x64">

          <jfx:javafx-runtime version="2.0+" href="http://download.oracle.com/otn-pub/java/javafx/javafx-windows-x64__Vlatest.exe "/>

      </resources>

        <resources>

          <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>

          <jar href="BrickBreaker.jar" size="722312" download="eager" />

        </resources>

        <applet-desc width="960" height="720" main-class="com.javafx.main.NoJavaFXFallback" name="BrickBreaker" />

        <jfx:javafx-desc width="960" height="720" main-class="brickbreaker.Main" name="BrickBreaker" />

        <update check="background"/>

      </jnlp>


      temp:

      returning ROOT as follows:


      <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="BrickBreaker.jnlp">

        <information>

          <title>Sample app: BrickBreaker</title>

          <vendor>Oracle</vendor>

          <description>Sample JavaFX 2.0 application.</description>

          <offline-allowed/>

        </information>

        <resources os="Windows" arch="x86">

          <javafx-runtime version="2.0+" href="http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe"/>

        </resources>

        <resources os="Windows" arch="x64">

          <javafx-runtime version="2.0+" href="http://download.oracle.com/otn-pub/java/javafx/javafx-windows-x64__Vlatest.exe"/>

        </resources>

        <resources>

          <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>

          <jar href="BrickBreaker.jar" size="722312" download="eager"/>

        </resources>

        <applet-desc width="960" height="720" main-class="com.javafx.main.NoJavaFXFallback" name="BrickBreaker"/>

        <javafx-desc width="960" height="720" main-class="brickbreaker.Main" name="BrickBreaker"/>

        <update check="background"/>

      </jnlp>
      temp: returning LaunchDesc from XMLFormat.parse():


      <jnlp spec="1.0" codebase="file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/" href="file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp">

        <information>

          <title>Sample app: BrickBreaker</title>

          <vendor>Oracle</vendor>

          <homepage href="null"/>

          <description>Sample JavaFX 2.0 application.</description>

          <offline-allowed/>

        </information>

        <update check="background" policy="always"/>

        <resources>

          <javafx-runtime version="2.0+" href="http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe"/>

          <java href="http://java.sun.com/products/autodl/j2se" version="1.6+"/>

          <jar href="file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar" download="eager" main="false"/>

        </resources>

        <applet-desc name="BrickBreaker" main-class="com.javafx.main.NoJavaFXFallback" documentbase="file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.html" width="960" height="720"/>

        <javafx-desc main-class="brickbreaker.Main"/>

      </jnlp>
      network: Cache entry found [url: file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp, version: null] prevalidated=false/0
      basic: Loaded descriptor from cache at: file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp
      temp: new XMLParser with source:
      temp:

      <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="BrickBreaker.jnlp">

        <information>

          <title>Sample app: BrickBreaker</title>

          <vendor>Oracle</vendor>

          <description>Sample JavaFX 2.0 application.</description>

          <offline-allowed/>

        </information>

        <resources os="Windows" arch="x86">

          <javafx-runtime version="2.0+" href="http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe"/>

        </resources>

        <resources os="Windows" arch="x64">

          <javafx-runtime version="2.0+" href="http://download.oracle.com/otn-pub/java/javafx/javafx-windows-x64__Vlatest.exe"/>

        </resources>

        <resources>

          <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>

          <jar href="BrickBreaker.jar" size="722312" download="eager"/>

        </resources>

        <applet-desc width="960" height="720" main-class="com.javafx.main.NoJavaFXFallback" name="BrickBreaker"/>

        <javafx-desc width="960" height="720" main-class="brickbreaker.Main" name="BrickBreaker"/>

        <update check="background"/>

      </jnlp>
      temp:

      returning ROOT as follows:


      <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="BrickBreaker.jnlp">

        <information>

          <title>Sample app: BrickBreaker</title>

          <vendor>Oracle</vendor>

          <description>Sample JavaFX 2.0 application.</description>

          <offline-allowed/>

        </information>

        <resources os="Windows" arch="x86">

          <javafx-runtime version="2.0+" href="http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe"/>

        </resources>

        <resources os="Windows" arch="x64">

          <javafx-runtime version="2.0+" href="http://download.oracle.com/otn-pub/java/javafx/javafx-windows-x64__Vlatest.exe"/>

        </resources>

        <resources>

          <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>

          <jar href="BrickBreaker.jar" size="722312" download="eager"/>

        </resources>

        <applet-desc width="960" height="720" main-class="com.javafx.main.NoJavaFXFallback" name="BrickBreaker"/>

        <javafx-desc width="960" height="720" main-class="brickbreaker.Main" name="BrickBreaker"/>

        <update check="background"/>

      </jnlp>
      temp: returning LaunchDesc from XMLFormat.parse():


      <jnlp spec="1.0" codebase="file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/" href="file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp">

        <information>

          <title>Sample app: BrickBreaker</title>

          <vendor>Oracle</vendor>

          <homepage href="null"/>

          <description>Sample JavaFX 2.0 application.</description>

          <offline-allowed/>

        </information>

        <update check="background" policy="always"/>

        <resources>

          <javafx-runtime version="2.0+" href="http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe"/>

          <java href="http://java.sun.com/products/autodl/j2se" version="1.6+"/>

          <jar href="file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar" download="eager" main="false"/>

        </resources>

        <applet-desc name="BrickBreaker" main-class="com.javafx.main.NoJavaFXFallback" documentbase="file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.html" width="960" height="720"/>

        <javafx-desc main-class="brickbreaker.Main"/>

      </jnlp>
      security: Blacklist revocation check is enabled
      security: Trusted libraries list check is enabled
      network: Cache entry found [url: file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar, version: null] prevalidated=false/0
      cache: JNLPPreverifyClassLoader.initialize: FAILED: file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar
      network: Created version ID: 1.6.0.10
      network: Created version ID: 2.0+
      basic: Plugin2ClassLoader.addURL2 called for file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar
      basic: Plugin2ClassLoader.drainPendingURLs addURL called for file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar
      security: Staring warmup validation
      network: Created version ID: 1.6+
      network: Created version ID: 1.6.0.26
      network: Created version ID: 1.6.0.26
      network: Created version ID: 1.6
      basic: LaunchDesc location: file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp
      network: Created version ID: 1.0
      network: Created version ID: 7.0
      network: Created version ID: 6.0.18
      network: Created version ID: 6.0.10
      network: Created version ID: 6.0
      network: Created version ID: 1.5
      network: Created version ID: 1.0
      network: Created version ID: 2.0+
      network: Created version ID: 2.0.0.beta
      basic: passing security checks; secureArgs:true, allSigned:false
      basic: continuing launch in this VM
      network: LDUpdater: started background update check
      Got ConfigEvent[type=SetVisible, value=true]

      Got DownloadEvent[type=verify,loaded=1, total=1, percent=100]

      Got AppletInitEvent[type=CallConstructor]

      basic: JNLP2ClassLoader.findClass: brickbreaker.Main: try again ..
      basic: JNLP2ClassLoader.getPermissions() ..
      security: JAVAWS AppPolicy Permission requested for: file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar
      security: Add sandbox permissions
      basic: JNLP2ClassLoader.getPermissions() X
      basic: Applet loaded.
      basic: Applet resized and added to parent container
      Got AppletInitEvent[type=CallInit]

      basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 750968 us, pluginInit dt 1011567 us, TotalTime: 1762535 us
      basic: Applet initialized
      basic: Starting applet
      basic: completed perf rollup
      Got AppletInitEvent[type=CallStart]

      basic: JNLP2ClassLoader.findClass: brickbreaker.Config: try again ..
      basic: Applet made visible
      basic: Applet started
      basic: Told clients applet is started
      basic: JNLP2ClassLoader.findClass: brickbreaker.Main$MainFrame: try again ..
      basic: JNLP2ClassLoader.findClass: brickbreaker.Splash: try again ..
      basic: JNLP2ClassLoader.findClass: brickbreaker.Splash$1: try again ..
      basic: JNLP2ClassLoader.findClass: brickbreaker.Splash$2: try again ..
      basic: JNLP2ClassLoader.findClass: brickbreaker.Splash$3: try again ..
      java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers)

      at java.security.AccessControlContext.checkPermission(Unknown Source)

      at java.security.AccessController.checkPermission(Unknown Source)

      at java.lang.SecurityManager.checkPermission(Unknown Source)

      at java.lang.SecurityManager.checkMemberAccess(Unknown Source)

      at java.lang.Class.checkMemberAccess(Unknown Source)

      at java.lang.Class.getDeclaredFields(Unknown Source)

      at com.sun.javafx.css.StyleableProperty.getStyleables(Unknown Source)

      at com.sun.javafx.css.StyleHelper.transitionToState(Unknown Source)

      at javafx.scene.Node.impl_processCSS(Unknown Source)

      at javafx.scene.Parent.impl_processCSS(Unknown Source)

      at javafx.scene.Parent.impl_processCSS(Unknown Source)

      at javafx.scene.Node.processCSS(Unknown Source)

      at javafx.scene.Scene.doCSSPass(Unknown Source)

      at javafx.scene.Scene.preferredSize(Unknown Source)

      at javafx.scene.Scene.impl_initPeer(Unknown Source)

      at javafx.stage.Window$13.invalidated(Unknown Source)

      at javafx.beans.property.BooleanPropertyBase.markInvalid(Unknown Source)

      at javafx.beans.property.BooleanPropertyBase.set(Unknown Source)

      at javafx.stage.Window.setVisible(Unknown Source)

      at javafx.stage.Stage.setVisible(Unknown Source)

      at brickbreaker.Main.start(Main.java:60)

      at com.sun.javafx.applet.FXApplet2$1.run(Unknown Source)

      at com.sun.javafx.application.PlatformImpl$3.run(Unknown Source)

      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)

      at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)

      at com.sun.glass.ui.win.WinApplication$1$1.run(Unknown Source)

      at java.lang.Thread.run(Unknown Source)

      Aborting launch ...

      Got ErrorEvent[url=null label=Failed to start application. cause=access denied (java.lang.RuntimePermission accessDeclaredMembers)

      network: ResponseCode for file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp : 200
      network: Encoding for file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp : null
      network: ResponseCode for file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp : 200
      network: Encoding for file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp : null
      network: ResponseCode for file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp : 200
      network: Encoding for file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp : null
      network: ResponseCode for file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp : 200
      network: Encoding for file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp : null
      network: Sever response: (length: 1100, lastModified: Tue Aug 16 16:37:50 PDT 2011, downloadVersion: null, mimeType: application/x-java-jnlp-file)
      network: Downloading resource: file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp
      Content-Length: 1,100
      Content-Encoding: null
      network: Wrote URL file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp to File C:\Users\kwwong\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\4\3a79d804-3c26ac10-temp
      network: Cache: Enable a new CacheEntry: file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp
      network: Remove cache entry: file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp
      network: Downloaded file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jnlp: C:\Users\kwwong\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\4\3a79d804-3c26ac10
      temp: new XMLParser with source:
      temp: <?xml version="1.0" encoding="utf-8"?>

      <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="BrickBreaker.jnlp">

        <information>

          <title>Sample app: BrickBreaker</title>

          <vendor>Oracle</vendor>

          <description>Sample JavaFX 2.0 application.</description>

          <offline-allowed/>

        </information>

      <resources os="Windows" arch="x86">

          <jfx:javafx-runtime version="2.0+" href="http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe "/>

      </resources>

      <resources os="Windows" arch="x64">

          <jfx:javafx-runtime version="2.0+" href="http://download.oracle.com/otn-pub/java/javafx/javafx-windows-x64__Vlatest.exe "/>

      </resources>

        <resources>

          <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>

          <jar href="BrickBreaker.jar" size="722312" download="eager" />

        </resources>

        <applet-desc width="960" height="720" main-class="com.javafx.main.NoJavaFXFallback" name="BrickBreaker" />

        <jfx:javafx-desc width="960" height="720" main-class="brickbreaker.Main" name="BrickBreaker" />

        <update check="background"/>

      </jnlp>


      temp:

      returning ROOT as follows:


      <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="BrickBreaker.jnlp">

        <information>

          <title>Sample app: BrickBreaker</title>

          <vendor>Oracle</vendor>

          <description>Sample JavaFX 2.0 application.</description>

          <offline-allowed/>

        </information>

        <resources os="Windows" arch="x86">

          <javafx-runtime version="2.0+" href="http://download.oracle.com/otn-pub/java/javafx/javafx-windows-i586__Vlatest.exe"/>

        </resources>

        <resources os="Windows" arch="x64">

          <javafx-runtime version="2.0+" href="http://download.oracle.com/otn-pub/java/javafx/javafx-windows-x64__Vlatest.exe"/>

        </resources>

        <resources>

          <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>

          <jar href="BrickBreaker.jar" size="722312" download="eager"/>

        </resources>

        <applet-desc width="960" height="720" main-class="com.javafx.main.NoJavaFXFallback" name="BrickBreaker"/>

        <javafx-desc width="960" height="720" main-class="brickbreaker.Main" name="BrickBreaker"/>

        <update check="background"/>

      </jnlp>
      network: JARUpdater: update check for file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar
      network: ResponseCode for file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar : 200
      network: Encoding for file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar : null
      network: ResponseCode for file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar : 200
      network: Encoding for file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar : null
      network: Sever response: (length: 722312, lastModified: Tue Aug 16 16:37:50 PDT 2011, downloadVersion: null, mimeType: application/x-java-archive)
      network: Downloading resource: file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar
      Content-Length: 722,312
      Content-Encoding: null
      network: Wrote URL file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar to File C:\Users\kwwong\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\45\3bf17ead-33c433db-temp
      security: The jar file isnt signed so the blacklist check will be skipped
      security: The jar file isnt signed so the trusted libraries list check will be skipped
      network: Downloaded file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar to file:/C:/Users/kwwong/AppData/LocalLow/Sun/Java/Deployment/cache/6.0/45/3bf17ead-33c433db
      Cache Entry disabled
      network: Cache: Enable a new CacheEntry: file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar
      network: Remove cache entry: file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar
      network: Background Update Thread: update cache: file:/C:/ws/integration/controls-dev/artifacts/apps/experiments/BrickBreaker.jar
      network: CleanupThread used 735093 us

            kcr Kevin Rushforth
            kwwong Kinsley Wong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: