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

Testcase assert error java/net/CookieHandler/TestHttpCookie.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • OpenJDK6
    • 7
    • core-libs
    • None
    • generic
    • generic

      When JPRT runs this test with assertions enabled, it fails, pretty much all platforms are failing.

      --------------------------------------------------
      TEST: java/net/CookieHandler/TestHttpCookie.java
      JDK under test: (/tmp/jprt/P1/T/004516.ohair/testproduct/linux_x64_2.6-product)
      openjdk version "1.6.0-201006230045.ohair.jdk"
      OpenJDK Runtime Environment (build 1.6.0-201006230045.ohair.jdk-jprtadm_22_jun_2010_21_04-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 17.0-b15, mixed mode)

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

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 0.103 seconds
      messages:
      command: compile /tmp/jprt/P1/T/004516.ohair/source/test/java/net/CookieHandler/TestHttpCookie.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 0.103

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError
      REASON: Assumed action based on file name: run main TestHttpCookie
      TIME: 0.024 seconds
      messages:
      command: main TestHttpCookie
      reason: Assumed action based on file name: run main TestHttpCookie
      elapsed time (seconds): 0.024
      STDOUT:
      == Test using rfc 2965 syntax ==
      STDERR:
      java.lang.AssertionError
      at TestHttpCookie.<init>(TestHttpCookie.java:51)
      at TestHttpCookie.test(TestHttpCookie.java:47)
      at TestHttpCookie.rfc2965(TestHttpCookie.java:277)
      at TestHttpCookie.runTests(TestHttpCookie.java:219)
      at TestHttpCookie.main(TestHttpCookie.java:372)
      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:616)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:680)
      at java.lang.Thread.run(Thread.java:636)

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


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

            Unassigned Unassigned
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: