Community
Participate
Working Groups
3.4M3 but at least since 3.3. Follow-up for bug 186410 comment 15 (Markus): The recovered 'Object' type binding is still a bit strange, since it has name "Object" and a package binding with name "p" but a qualifiedName "Object". Expected: either qualifiedName "p.Object", or better yet "java.lang.Object" and a package binding for "java.lang" (since ITypeBinding.getSuperclass() suggests to test for "java.lang.Object").
bug 186410 comment 16 (Olivier): In this specific case, we could indeed do better. We retrieve a missing binary type binding that contains the right package binding and the right fully qualified name. So we should improve: -getPackage() to return the package binding corresponding to the package binding inside the missing binary type binding. This will involve updating the doc for ITypeBinding#getPackage(). - getQualifiedName() to return a consistent name wrt the package name - getName() same for the single name
Patch for bug 186410 includes fix for this bug...
Released for 3.4M4 in HEAD stream.
Released for 3.3.2 in R3_3_maintenance stream.
Fine-tuning fix for bug 186410. Philippe please approve for 3.3.2.
I understand bug 186410 to be critical for 3.3.2, but this one sounds more like nice to have (almost cosmetical). Why do we need it as well for 3.3.2 ? Is it trivial, and providing lots of good things ?
(In reply to comment #6) > I understand bug 186410 to be critical for 3.3.2, but this one sounds more like > nice to have (almost cosmetical). > Why do we need it as well for 3.3.2 ? > Is it trivial, and providing lots of good things ? > In fact the fix for bug 186410 is a change in getSuperclass() method using getQualifiedName(). So, this method needs the fix for bug 209150 to work properly and return the name really qualified...
+1 for 3.3.2
Verified for 3.4M4 using build I20071210-1800.
The test cases mistakenly bug 209510 instead of this bug 209510 (in both maintenance and HEAD), you may want to fix this. But the fix is in though. Verified for 3.3.2 using build M20080123-0800 and tests from version v_791_R33x.
(In reply to comment #10) > The test cases mistakenly bug 209510 instead of this bug 209510 (in both > maintenance and HEAD), you may want to fix this. But the fix is in though. > It seems that dyslexia comes naturally while referring to this bug ;-) Thanks for having pointed this, I've fixed it in both stream but of course, we won't ask for a rebuild in maintenance stream for this change...