hg: jdk8/tl/langtools: 7059905: (javadoc) promote method visibility for netbeans usage

2011-06-30 Thread kumar . x . srinivasan
Changeset: b0909f992710 Author:ksrini Date: 2011-06-30 14:33 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/b0909f992710 7059905: (javadoc) promote method visibility for netbeans usage Reviewed-by: jjg, bpatel ! src/share/classes/com/sun/tools/javadoc/AnnotationTypeDoc

Return type of Object.getClass()

2011-06-30 Thread Zhong Yu
Why does it return Class instead of Class? Quote: The actual result type is Class where |X| is the erasure of the static type of the expression on which getClass is called. This means the following code does not compile T obj = ...; Class clazz = obj.getClass(); What's the reason for era

hg: jdk8/tl/langtools: 7060926: Attr.PostAttrAnalyzer misses a case

2011-06-30 Thread jonathan . gibbons
Changeset: 858ae8fec72f Author:jjg Date: 2011-06-30 12:00 -0700 URL: http://hg.openjdk.java.net/jdk8/tl/langtools/rev/858ae8fec72f 7060926: Attr.PostAttrAnalyzer misses a case Reviewed-by: mcimadamore ! src/share/classes/com/sun/tools/javac/comp/Attr.java + test/tools/javac/failove