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

Security Exception(Sealing Violation) in package com.sun.java.swing

    Details

    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b130
    • CPU:
      x86_64
    • OS:
      windows_7

      Description

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      Below exception is thrown while launching CD application using JRE 9. This issue occurs only with JRE 9 and it works fine for other lower JRE version(6, 7, 8). com.sun.java.swing package is sealed. Kindly let us know the root cause and whether sealing can be removed for this package. Please find the exception stack trace in 'Error Message(s)/Crash Logs' filed.



      REGRESSION. Last worked in version 9


      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      basic: exception: sealing violation: package com.sun.java.swing is sealed.
      java.lang.SecurityException: sealing violation: package com.sun.java.swing is sealed
      at com.sun.deploy.security.DeployURLClassLoader.getAndVerifyPackage(jdk.deploy@9-ea/DeployURLClassLoader.java:319)
      at com.sun.deploy.security.DeployURLClassLoader.definePackageInternal(jdk.deploy@9-ea/DeployURLClassLoader.java:339)
      at com.sun.deploy.security.DeployURLClassLoader.defineClass(jdk.deploy@9-ea/DeployURLClassLoader.java:371)
      at sun.plugin2.applet.Plugin2ClassLoader.access$000(jdk.plugin@9-ea/Plugin2ClassLoader.java:65)
      at sun.plugin2.applet.Plugin2ClassLoader$2.run(jdk.plugin@9-ea/Plugin2ClassLoader.java:938)
      at sun.plugin2.applet.Plugin2ClassLoader$2.run(jdk.plugin@9-ea/Plugin2ClassLoader.java:905)
      at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)

      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                almatvee Alexander Matveev
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: