4
4

1 回答 1

5

Eclipse uses its own compiler. In a very few cases there are little differences between the Eclipse Compiler and the OpenJDK one. For more general information see also:

http://www.eclipse.org/jdt/core/

How does Eclipse compile classes with only a JRE?

Edit:

The compilation error with the interfaces might be related to this JDK bug: http://bugs.sun.com/view_bug.do?bug_id=6908259

于 2012-06-14T12:45:58.223 回答