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

Test applications/ctw/Modules.java fails with AssertionError in sun.hotspot.tools.ctw.Utils.fileNameToClassName

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      Test applications/ctw/Modules.java fails with ava.lang.AssertionError in sun.hotspot.tools.ctw.Utils.fileNameToClassName

      Here is the stack trace:
      ----------System.err:(28/2008)----------
      java.lang.AssertionError
      at sun.hotspot.tools.ctw.Utils.fileNameToClassName(Utils.java:211)
      at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
      at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
      at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
      at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
      at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
      at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
      at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)
      at java.base/java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:257)
      at java.base/java.util.stream.ReduceOps$5.evaluateSequential(ReduceOps.java:248)
      at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
      at java.base/java.util.stream.ReferencePipeline.count(ReferencePipeline.java:538)
      at sun.hotspot.tools.ctw.ClassPathJimageEntry.classCount(ClassPathJimageEntry.java:75)
      at sun.hotspot.tools.ctw.CtwRunner.classCount(CtwRunner.java:166)
      at sun.hotspot.tools.ctw.CtwRunner.startCtwforAllClasses(CtwRunner.java:105)
      at sun.hotspot.tools.ctw.CtwRunner.run(CtwRunner.java:83)
      at sun.hotspot.tools.ctw.CtwRunner.main(CtwRunner.java:61)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.AssertionError
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError


      test result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iignatyev Igor Ignatyev
                Reporter:
                lmesnik Leonid Mesnik
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: