|
Description
|
It seems that the test ensures that no '-' char is present in the output generated by javap. My output is:
Classfile /media/data/ws/jdk7/6735840/build/jtreg/javap/work/scratch/Test.class
Last modified 26-Aug-2008; size 362 bytes
MD5 checksum e8b70997e5670277a49b88b05c096b88
Compiled from "Test.java"
class Test extends java.lang.Object
SourceFile: "Test.java"
Deprecated: true
RuntimeVisibleAnnotations: 0: #15()
NonstandardAttribute: length = 0x8
[...]
That is, a '-' is present at the very beginning of the output, as part of the date format DD-MM-YYYY. I think this failure is trivial, that is, the javap output is ok (as it doesn't contain any other '-' signs); I see that you already skip '-' chars that might be contained in the classname, perhaps the same should be done for the date format (the test should only look into the 'true' javap output). It's possible that you didn't see the problem as you use a different locale.
Posted Date : 2008-10-16 14:48:51.0
|