Community
Participate
Working Groups
Build Identifier: M20110909-1335 I run samples listed in javadoc of MethodHandle, which is a new feature of JDK7. It could run well in command line. But it could not compile and had runtime exception in eclipse ide. I think there are some error with ECJ, it had not support jdk7 completely. Reproducible: Always Steps to Reproduce: 1. copy the examples listed in javadoc of java.lang.invoke.MethodHandle, include some examples listed in the methoeds javadoc of the class, into eclipse to run 2. complile and run the source in command line, all run well 3. complile and run in eclipse, then errors occur
I am unable to reproduce this problem with 3.7.1 and 3.8 M4. Can you please give the exact testcase?
(In reply to comment #0) > Build Identifier: M20110909-1335 > > I run samples listed in javadoc of MethodHandle, which is a new feature of > JDK7. It could run well in command line. But it could not compile and had > runtime exception in eclipse ide. Please attach a stack trace and/or clear error messages you are getting. Also try with a more recent version.
Also please try with a more recent 3.7.2/4.1 M-build or 3.8/4.2 I-build. Are you sure you are running in a project which has compiler settings set to 1.7?
yiyuan li, could you please provide the requested information in order to investigate this issue? Thanks.
Please reopen the bug if you have more details.
Verified for 3.8 M7 using build I20120430-1800.