Bug#401948: Acknowledgement (ecj-bootstrap: The import java.util.Scanner cannot be resolved)

Jhair Tocancipa Triana jhair.tocancipa at gmail.com
Thu Dec 7 00:42:45 UTC 2006


Hm. Probably this bug should be closed straight. I am just testing
some simple test programs using generics and they don't compile with
ecj-bootstrap (from the command line) even with the -1.5 flag.

E.g.,

/usr/bin/ecj-bootstrap -1.5 Test.java

----------
1. ERROR in Test.java (at line 11)
        static void printList (List<String> list)
                               ^^^^
The type List is not generic; it cannot be parameterized with arguments <String>
----------

so probably I am missing additional flags... The program compiles fine
with Sun's compiler though.

-- 
-- Jhair
(who tries the java eclipse compiler from the command line for the first time)




More information about the pkg-java-maintainers mailing list