[Checkers] Langtools filed tests

Mahmood Ali mahmood at MIT.EDU
Mon Jun 23 14:25:14 EDT 2008


Greetings,

I just analyzed the failing tests for the compiler.  We have seven  
failing tests: four when using langtools-unmodified and three extra  
when using jsr308 langtools.  I have run the tests with langtools on  
Java 7-ea-b29.

FAILED TESTS WHEN USING LANGTOOLS_UNMODIFIED

# tools/javac/versionOpt.sh : support-version and -fullversion
# tools/javac/Paths/MineField.sh : Test that javac and java find files  
in similar ways
# tools/javac/processing/model/testgetallmembers/Main.java :  
PackageElement.getEnclosedElements() throws ClassReader 
$BadClassFileException
# tools/javac/processing/6348193/T6348193.java : AS8.1 UR2 BAT test  
failure with "javac"
Reason:

-  I don't quite know why these fail.  I assume that the version of  
java is different of javac.


FAILED TESTS ONLY DUE JSR308 LANGTOOLS:

# tools/javac/api/T6392782.java : TreeScanner.visitImport returns  
null, not result of nested scan

Reason: The test fail because it expects to find 384 nodes but found  
427.  I suspect it's due us creating AnnotatedTree which contributes  
to the count.

# tools/javac/generics/Multibound1.java : javac failed to check second  
bound
# tools/javac/generics/typevars/5060485/Compatibility.java : The scope  
of a class type parameter is too wide

These are more serious bugs.  I will investigate them further.

Regards,
mahmood




More information about the checkers mailing list