Bug 273751 - [1.5][compiler] Compiler allows private inner class as a <T> parameter when javac doesn't
Summary: [1.5][compiler] Compiler allows private inner class as a <T> parameter when j...
Status: VERIFIED DUPLICATE of bug 185422
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.5 RC1   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-26 17:54 EDT by Remy Suen CLA
Modified: 2009-05-14 12:21 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2009-04-26 17:54:59 EDT
Build id: I20090421-0930

package c.v;
public class A<T> {
}

package c.v;
public class B extends A<B.Secret> {
  private class Secret {};
}

Found this problem while surfing stackoverflow.com. ECJ is fine but javac 1.6.0_12 doesn't like it.

http://stackoverflow.com/questions/757623/bug-in-eclipse-compiler-or-javac
Comment 1 Kent Johnson CLA 2009-05-05 13:06:35 EDT

*** This bug has been marked as a duplicate of bug 185422 ***
Comment 2 Olivier Thomann CLA 2009-05-14 12:21:06 EDT
Verified for 3.5RC1 using I20090511-2000.