TEST: java/nio/file/Files/content_type.sh
JDK under test: (/tmp/jprt/P1/T/090708.ab23780/testproduct/linux_i586_2.6-product)
java version "1.7.0-2009-04-25-090708.ab23780.jdk"
Java(TM) SE Runtime Environment (build 1.7.0-2009-04-25-090708.ab23780.jdk-jprtadm_2009_04_25_07_39-b00)
Java HotSpot(TM) Server VM (build 16.0-b01, mixed mode)
ACTION: build -- Passed. Build successful
REASON: User specified action: run build ContentType SimpleFileTypeDetector
TIME: 0.65 seconds
messages:
command: build ContentType SimpleFileTypeDetector
reason: User specified action: run build ContentType SimpleFileTypeDetector
elapsed time (seconds): 0.65
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.65 seconds
messages:
command: compile /tmp/jprt/P1/T/090708.ab23780/source/test/java/nio/file/Files/ContentType.java /tmp/jprt/P1/T/090708.ab23780/source/test/java/nio/file/Files/SimpleFileTypeDetector.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.65
STDOUT:
STDERR:
ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell content_type.sh
TIME: 0.178 seconds
messages:
command: shell content_type.sh []
reason: User specified action: run shell content_type.sh
elapsed time (seconds): 0.178
STDOUT:
probe /tmp/foo1052103990546151341.html...
probe /tmp/unknown5946721225896916726unknown-file-type-789...
Exception in thread "main" java.lang.RuntimeException: /tmp/unknown5946721225896916726unknown-file-type-789 should not be recognized as:text/plain
at ContentType.main(ContentType.java:72)
1 test(s) failed
STDERR:
TEST RESULT: Failed. Execution failed: exit code 1