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

tools/javac/T6725036.java fails intermittently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • tools
    • None
    • b98

      I've recently seen langtools/tools/javac/T6725036.java start to fail in JPRT with the JDK8 CPU forest (strangely I haven't seen it fail in tl, yet).

      I cannot see anything obvious in the 8CPU forest that would cause this. In fact, it is more likely that 7012868 may have impacted on this, since javac seems to have duplicated some of the logic for translating dos2JavaTime, or possible not supporting exted timestamp field?

      It fails on some Linux and Windows JPRT machines as follows:

      TEST: tools/javac/T6725036.java
      JDK under test: (/opt/jprt/T/P1/132653.chhegar/testproduct/linux_i586_2.6-product)
      java version "1.8.0-internal"
      Java(TM) SE Runtime Environment (build 1.8.0-internal-jprtadm_2013_06_17_07_00-b00)
      Java HotSpot(TM) Client VM (build 25.0-b36, mixed mode, sharing)


      ACTION: build -- Passed. Build successful
      REASON: Named class compiled on demand
      TIME: 0.044 seconds
      messages:
      command: build T6725036
      reason: Named class compiled on demand
      elapsed time (seconds): 0.044

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.044 seconds
      messages:
      command: compile -XDignore.symbol.file=true /opt/jprt/T/P1/132653.chhegar/s/langtools/test/tools/javac/T6725036.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.044

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.Exception: 2 occurred
      REASON: Assumed action based on file name: run main T6725036
      TIME: 0.003 seconds
      messages:
      command: main T6725036
      reason: Assumed action based on file name: run main T6725036
      elapsed time (seconds): 0.003
      STDOUT:
      STDERR:
      Error:
      Expected: 1371453108000 (Mon Jun 17 00:11:48 PDT 2013) from java/lang/String.class
         Found: 1371478308000 (Mon Jun 17 07:11:48 PDT 2013) from ZipFileIndex[/opt/jprt/T/P1/132653.chhegar/testproduct/linux_i586_2.6-product/jre/lib/rt.jar]:java/lang/String.class
      Error:
      Expected: 1371453108000 (Mon Jun 17 00:11:48 PDT 2013) from java/lang/String.class
         Found: 1371478308000 (Mon Jun 17 07:11:48 PDT 2013) from ZipFileIndexFileObject[/opt/jprt/T/P1/132653.chhegar/testproduct/linux_i586_2.6-product/jre/lib/rt.jar(java/lang/String.class)]
      java.lang.Exception: 2 occurred
      at T6725036.run(T6725036.java:78)
      at T6725036.main(T6725036.java:46)
      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:491)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:728)
      at java.lang.Thread.run(Thread.java:724)

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


      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.Exception: 2 occurred

            sherman Xueming Shen
            chegar Chris Hegarty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: