Community
Participate
Working Groups
This bug is actually in the cvs HEAD version of jdt.core, as of Sept. 15, 2004, not "3.0". It seems that bounds on type parameters aren't checked correctly when determining visibility of methods/fields. I've put a source file which demonstrates the problem at http://www.cs.umd.edu/~daveho/VisibilityBug.java I'll try to attach it to the bug report, too.
Created attachment 14579 [details] Demonstrates the bug (which is two spurious compile errors)
Type variables are allowed to inherit private members from their bounds. Fixed. Added regression test: GenericTypeTest#test306
Verified in I200409231635.