Community
Participate
Working Groups
R3.6 but also 3.5.x. Filing against JDT Core because there seem to be other issues with that member which probably also cause the breakpoint problem. 1. start new workspace with Oracle/Sun 1.6 SDK 2. add a Java project 3. open 'FutureTask' 4. in the Outline view click on the constructor 'Sync(Callable<V>)' ==> nothing happens (NOTE: the constructor is not synthetic) 5. go back to the editor and try to add a breakpoint to that constructor ==> nothing happens It works for other members inside the Sync class. Problem is that org.eclipse.jdt.core.ISourceReference.getSourceRange() returns [offset=-1, length=0]. See also bug 137847.
I only checked back to 3.5, so it might also be broken before that.
Linkback: http://www.eclipse.org/forums/index.php?t=msg&th=173754&start=0&S=1b313ffb9ec3bbe5eb72e39900657ce0
Reproduced with JDK 7b100 also. Mismatch in hashCode computation at the time of hash map put vs get due to synthetic argument being counted in one and being ignored in the other. Need to check why.
(In reply to comment #3) > Reproduced with JDK 7b100 also. > > Mismatch in hashCode computation at the time of > hash map put vs get due to synthetic argument > being counted in one and being ignored in the > other. Need to check why. See also bug 316937 comment 5
We have an inconsistency for parameter types for a binary method that comes from a constructor with a generic signature. The generic signature doesn't contain the enclosing instance. So we must "insert" the enclosing instance in this case. Working on a fix.
*** This bug has been marked as a duplicate of bug 321276 ***