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

Regression tests are failing with ExceptionInInitializerError

    Details

    • Subcomponent:
    • Introduced In Build:
      b64
    • Introduced In Version:
      7
    • Resolved In Build:
      b66
    • CPU:
      generic, x86
    • OS:
      generic, windows, windows_xp, windows_vista
    • Verification:
      Verified

      Description

      Bug Info
      =========

      The following regression tests are failing with ExceptionInInitializerError while running with jdk7-b64 pit.

      closed/javax/swing/JFileChooser/6215611/bug6215611.java
      closed/javax/swing/JFileChooser/6484091/bug6484091.java
      closed/javax/swing/JFileChooser/5059770/bug5059770.java
      javax/swing/JFileChooser/6688203/bug6688203.java
      closed/javax/swing/JPopupMenu/4966112/bug4966112.java
      closed/javax/swing/tree/DefaultTreeCellRenderer/6225504/bug6225504.java
      javax/swing/border/Test4856008.java
      closed/javax/swing/JEditorPane/5076514/bug5076514.java
      closed/javax/swing/JFileChooser/4966171/bug4966171.java
      closed/javax/swing/JFileChooser/5040999/bug5040999.java
      closed/javax/swing/JFileChooser/4776197/bug4776197.java
      closed/javax/swing/LookAndFeel/LAFExtending/LAFExtending.java
      closed/javax/swing/JFileChooser/4163841/AcceptAllFileFilterTest.java
      closed/javax/swing/JFileChooser/4213330/FileChooserSizeTest.java
      closed/javax/swing/LookAndFeel/InstallProperty.java

      All the above tests are failing in window platform and closed/javax/swing/JEditorPane/5076514/bug5076514.java test fails even on linux and solaris platforms with same exception.


      JDK Info
      =========
      java version "1.7.0-internal"
      Java(TM) SE Runtime Environment (build 1.7.0-internal-administrator_2009_07_01_0
      0_43-b00)
      Java HotSpot(TM) Client VM (build 16.0-b04, mixed mode)

      Execption details
      =================
      java.lang.ExceptionInInitializerError
      at javax.swing.JComponent.repaint(JComponent.java:4780)
      at java.awt.Component.repaint(Component.java:3072)
      at javax.swing.text.JTextComponent.setEditable(JTextComponent.java:1810)
      at javax.swing.text.JTextComponent.<init>(JTextComponent.java:322)
      at javax.swing.JEditorPane.<init>(JEditorPane.java:197)
      at bug5076514.main(bug5076514.java:15)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:623)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:717)
      Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessClassInPackage.sun.awt")
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:345)
      at java.security.AccessController.checkPermission(AccessController.java:555)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
      at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1529)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:304)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:331)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:264)
      at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:83)
      at javax.swing.RepaintManager.<clinit>(RepaintManager.java:201)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dcherepanov Dmitry Cherepanov
                Reporter:
                vthotasunw Vinay Thota (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: