Community
Participate
Working Groups
Today is good day for bugs in generics :) Buildfile: C:\Documents and Settings\Vladimirov\workspace\GenericsTest2 \build.xml build: [javac] Compiling 3 source files to C:\Documents and Settings\Vladimirov\workspace\GenericsTest2\target [javac] C:\Documents and Settings\Vladimirov\workspace\GenericsTest2 \src\Test.java:6: Field cannot be dereferenced [javac] String result = form.getField().toString(); [javac] ^ [javac] 1 error BUILD FAILED C:\Documents and Settings\Vladimirov\workspace\GenericsTest2\build.xml:4: Compile failed; see the compiler error output for details. Total time: 6 seconds
Created attachment 28521 [details] Test case
Suspecting another javac bug. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5003431
Olivier: pls figure a reduced test case for adding to regression suite. Re: Today is good day for bugs in generics :) Sergey - it doesn't look bad so far... <g>
Added regression test in org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest.test854.