This content has been marked as final.
Show 3 replies
-
1. Re: Bug in Sun compiler?
bkeh12 Jan 30, 2007 10:00 AM (in response to adrian.brock)Sorry I post there.
types = [class.java.lang.string, int]
generic = []
Exception in thread "main" java.lang.RuntimeException: They should be the same?
my config fedora5 + NetBeans 5.5 + jdk 6 -
2. Re: Bug in Sun compiler?
starksm64 Jan 30, 2007 9:16 PM (in response to adrian.brock)Its a known bug for inner classes that has been open for some time:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5087240
although, even if I pull the enum into a separate class I still see the same problem. -
3. Re: Bug in Sun compiler?
adrian.brock Jan 31, 2007 12:35 PM (in response to adrian.brock)I originally found it with a standalone enum.
I've reported it as a bug. I did find a bug report that asked
for the opposite in apt (don't show the synthetic parameters)
so I guess they hacked the compiler to not annotate the class properly. :-)