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

CompletableFuture/Basic.java fails intermittently

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • 8
    • b87
    • Verified

    Description

      TEST: java/util/concurrent/CompletableFuture/Basic.java
      JDK under test: (C:\jprt\T\P1\205346~1.CHH\TESTPR~1\WINDOW~1.1-P)
      java version "1.8.0-internal"
      Java(TM) SE Runtime Environment (build 1.8.0-internal-jprtadm_2013_04_13_14_37-b00)
      Java HotSpot(TM) Client VM (build 25.0-b27, mixed mode, sharing)



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

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.25 seconds
      messages:
      command: compile C:\jprt\T\P1\205346.chhegar\s\jdk\test\java\util\concurrent\CompletableFuture\Basic.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.25
      direct:
      Note: C:\jprt\T\P1\205346.chhegar\s\jdk\test\java\util\concurrent\CompletableFuture\Basic.java uses unchecked or unsafe operations.
      Note: Recompile with -Xlint:unchecked for details.

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
      REASON: Assumed action based on file name: run main Basic
      TIME: 0.11 seconds
      messages:
      command: main Basic
      reason: Assumed action based on file name: run main Basic
      elapsed time (seconds): 0.11
      STDOUT:

      Passed = 2566, failed = 4

      STDERR:
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1345)
      at Basic.fail(Basic.java:742)
      at Basic.check(Basic.java:745)
      at Basic.test(Basic.java:489)
      at Basic.realMain(Basic.java:109)
      at Basic.main(Basic.java:758)
      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:490)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:706)
      at java.lang.Thread.run(Thread.java:722)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1345)
      at Basic.fail(Basic.java:742)
      at Basic.check(Basic.java:745)
      at Basic.test(Basic.java:501)
      at Basic.realMain(Basic.java:109)
      at Basic.main(Basic.java:758)
      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:490)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:706)
      at java.lang.Thread.run(Thread.java:722)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1345)
      at Basic.fail(Basic.java:742)
      at Basic.check(Basic.java:745)
      at Basic.test(Basic.java:564)
      at Basic.realMain(Basic.java:109)
      at Basic.main(Basic.java:758)
      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:490)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:706)
      at java.lang.Thread.run(Thread.java:722)
      java.lang.Exception: Stack trace
      at java.lang.Thread.dumpStack(Thread.java:1345)
      at Basic.fail(Basic.java:742)
      at Basic.check(Basic.java:745)
      at Basic.test(Basic.java:626)
      at Basic.realMain(Basic.java:109)
      at Basic.main(Basic.java:758)
      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:490)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:706)
      at java.lang.Thread.run(Thread.java:722)
      java.lang.AssertionError: Some tests failed
      at Basic.main(Basic.java:760)
      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:490)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:706)
      at java.lang.Thread.run(Thread.java:722)

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


      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed

      Attachments

        Issue Links

          Activity

            People

              chegar Chris Hegarty
              chegar Chris Hegarty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: