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

Several SPEC benchmarks with "sun.net.www.protocol.jar.URLJarFile$URLJarFileEntry cannot be cast to java.util.jar.JarFile$JarFileEntry"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • CPU:
      x86
    • OS:
      generic

      Description

      SPECjvm2008 derby, mpegaudio, sunflow, xml.transform, and xml.validation fail with

      java.lang.ExceptionInInitializerError
              at org.jfree.chart.ChartFactory.createXYLineChart(ChartFactory.java:1469)
              at spec.reporter.BenchmarkChart.<init>(BenchmarkChart.java:47)
              at spec.reporter.ReportGenerator.handleBenchmarkResult(ReportGenerator.java:141)
              at spec.reporter.ReportGenerator.handleBenchmarksResults(ReportGenerator.java:105)
              at spec.reporter.ReportGenerator.<init>(ReportGenerator.java:87)
              at spec.reporter.ReportGenerator.main2(ReportGenerator.java:750)
              at spec.reporter.Reporter.main2(Reporter.java:51)
              at spec.harness.Launch.createReport(Launch.java:307)
              at spec.harness.Launch.runBenchmarkSuite(Launch.java:250)
              at spec.harness.Launch.main(Launch.java:452)
      Caused by: java.util.MissingResourceException: Can't find bundle for base name org.jfree.chart.plot.LocalizationBundle, locale en_US
              at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1560)
              at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387)
      at java.util.ResourceBundle.getBundle(ResourceBundle.java:773)
              at org.jfree.chart.plot.XYPlot.<clinit>(XYPlot.java:287)
              ... 10 more
      Caused by: java.lang.ClassCastException: sun.net.www.protocol.jar.URLJarFile$URLJarFileEntry cannot be cast to java.util.jar.JarFile$JarFileEntry
              at java.util.jar.JarFile.verifiableEntry(JarFile.java:900)
              at java.util.jar.JarFile.getInputStream(JarFile.java:890)
              at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:162)
              at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:242)
      at java.util.ResourceBundle$Control$1.run(ResourceBundle.java:2673)
              at java.util.ResourceBundle$Control$1.run(ResourceBundle.java:2658)
      at java.security.AccessController.doPrivileged(Native Method)
              at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2657)
              at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1499)
              at java.util.ResourceBundle.findBundle(ResourceBundle.java:1465)
              at java.util.ResourceBundle.findBundle(ResourceBundle.java:1419)
              at java.util.ResourceBundle.findBundle(ResourceBundle.java:1419)
              at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1361)
              ... 12 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sdrach Steve Drach (Inactive)
                Reporter:
                mcberg Michael Berg
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: