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

java.lang.AssertionError: No error in ASCII mode - testcase tools/javac/api/6437999/T6437999.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P3 P3
    • 8
    • 8
    • infrastructure
    • None
    • generic
    • generic

      This is happening on the Sweden machines, all OS's not exactly sure why.

      Mostly filing this for the record, in case anyone else sees it happening.

      I am assuming it has something to do with the locale, but I'm pretty sure LANG=C during this testing.


      --------------------------------------------------
      TEST: tools/javac/api/6437999/T6437999.java
      JDK under test: (/tmp/jprt/P1/073733.jprtadm/testproduct/solaris_i586_5.10-product)
      openjdk version "1.8.0-internal"
      OpenJDK Runtime Environment (build 1.8.0-internal-jprtadm_2012_08_20_10_10-b00)
      OpenJDK Server VM (build 24.0-b18, mixed mode)

      ACTION: compile -- Passed. Compilation successful
      REASON: User specified action: run compile T6437999.java
      TIME: 0.012 seconds
      messages:
      command: compile /tmp/jprt/P1/073733.jprtadm/s/langtools/test/tools/javac/api/6437999/T6437999.java
      reason: User specified action: run compile T6437999.java
      elapsed time (seconds): 0.012

      ACTION: build -- Passed. All files up to date
      REASON: Named class compiled on demand
      TIME: 0.0 seconds
      messages:
      command: build T6437999
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError: No error in ASCII mode
      REASON: User specified action: run main T6437999
      TIME: 0.004 seconds
      messages:
      command: main T6437999
      reason: User specified action: run main T6437999
      elapsed time (seconds): 0.004
      STDOUT:
      STDERR:
      /tmp/jprt/P1/073733.jprtadm/s/langtools/test/tools/javac/api/6437999/Utf8.java:25: error: unmappable character for encoding US-ASCII
       * @author Peter von der Ah??
                                 ^
      /tmp/jprt/P1/073733.jprtadm/s/langtools/test/tools/javac/api/6437999/Utf8.java:25: error: unmappable character for encoding US-ASCII
       * @author Peter von der Ah??
                                  ^
      2 errors
      java.lang.AssertionError: No error in ASCII mode
      at T6437999.test(T6437999.java:60)
      at T6437999.main(T6437999.java:71)
      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:474)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:698)
      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: No error in ASCII mode
      --------------------------------------------------
      Happening on west coast now.

      Maybe it is due to being run on an Ubuntu 12.04 system?

      This was machine sc11137358


      --------------------------------------------------
      TEST: tools/javac/api/6437999/T6437999.java
      JDK under test: (/tmp/jprt/P1/221947.jprtadm/testproduct/linux_x64_2.6-product)
      openjdk version "1.8.0-internal"
      OpenJDK Runtime Environment (build 1.8.0-internal-jprtadm_2012_09_05_15_22-b00)
      OpenJDK 64-Bit Server VM (build 24.0-b21, mixed mode)

      ACTION: compile -- Passed. Compilation successful
      REASON: User specified action: run compile T6437999.java
      TIME: 0.01 seconds
      messages:
      command: compile /tmp/jprt/P1/221947.jprtadm/s/langtools/test/tools/javac/api/6437999/T6437999.java
      reason: User specified action: run compile T6437999.java
      elapsed time (seconds): 0.01

      ACTION: build -- Passed. All files up to date
      REASON: Named class compiled on demand
      TIME: 0.0 seconds
      messages:
      command: build T6437999
      reason: Named class compiled on demand
      elapsed time (seconds): 0.0

      ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.AssertionError: No error in ASCII mode
      REASON: User specified action: run main T6437999
      TIME: 0.005 seconds
      messages:
      command: main T6437999
      reason: User specified action: run main T6437999
      elapsed time (seconds): 0.005
      STDOUT:
      STDERR:
      /tmp/jprt/P1/221947.jprtadm/s/langtools/test/tools/javac/api/6437999/Utf8.java:25: error: unmappable character for encoding US-ASCII
       * @author Peter von der Ah??
                                 ^
      /tmp/jprt/P1/221947.jprtadm/s/langtools/test/tools/javac/api/6437999/Utf8.java:25: error: unmappable character for encoding US-ASCII
       * @author Peter von der Ah??
                                  ^
      2 errors
      java.lang.AssertionError: No error in ASCII mode
      at T6437999.test(T6437999.java:60)
      at T6437999.main(T6437999.java:71)
      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:474)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:698)
      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: No error in ASCII mode
      --------------------------------------------------

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: