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

A bulk of sjavac tests failed with compilation error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 9
    • 9
    • tools

      Affected tests:
      tools/sjavac/CompileCircularSources.java
      tools/sjavac/CompileExcludingDependency.java
      tools/sjavac/CompileWithAtFile.java
      tools/sjavac/CompileWithInvisibleSources.java
      tools/sjavac/IncCompInheritance.java
      tools/sjavac/IncCompileChangeNative.java
      tools/sjavac/IncCompileDropClasses.java
      tools/sjavac/IncCompileNoChanges.java
      tools/sjavac/IncCompileUpdateNative.java

      Recompiling test class...
      java.lang.reflect.InvocationTargetException
      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:543)
      at Wrapper.main(Wrapper.java:72)
      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:543)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:230)
      at java.base/java.lang.Thread.run(Thread.java:844)
      Caused by: java.lang.Exception: Expected IncCompileUpdateNative\\bin\\alfa\\omega\\AA$1.class to have the same timestamp!
      at SJavacTester.verifyNewerFiles(SJavacTester.java:219)
      at IncCompileUpdateNative.incrementalCompileChangeNative(IncCompileUpdateNative.java:79)
      at IncCompileUpdateNative.test(IncCompileUpdateNative.java:57)
      at IncCompileUpdateNative.main(IncCompileUpdateNative.java:44)
      ... 11 more

            vromero Vicente Arturo Romero Zaldivar
            jjiang John Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: