Community
Participate
Working Groups
Eclipse Automated test org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest.test0744 fails on Apache Harmony with "The constructor HashMap.Entry<K2,V2>(int, null, null, null) is undefined" unexpected output because Apache Harmony implementation of java.util.HashMap.Entry (which has package-private access and is not described in J2SE specification) constructor differs from Sun's implementation.
Trivial to fix. Setting target as 3.3.1.
Created attachment 73124 [details] Proposed fix This reports the same error, but doesn't rely on the HashMap.Entry implementation.
Released for 3.4M1.
Released for 3.3.1.
The issue is not reproducible on Harmony with these changes, thanks.
You might want to use the version from branch R3_3_maintenance.
I actually don't have the Eclipse Automated sources from CVS, just the sources packed into binary bundle (eclipse-Automated-Tests-3.2.zip/eclipse-Automated-Tests-3.3.zip), so I just copy-pasted the lines that were changed from http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java?view=markup, hope that's ok.
Code verified for 3.4M1 using build I20070806-1800.
Code verified for 3.3.1 using build M20070831-2000