|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
[67cat] Bug at Java editor parsingAn friend of mine just face an issue yesterday at Java editor. Take a look at issue http://www.netbeans.org/issues/show_bug.cgi?id=167336 for details, but basically some Generics scenarios just doesn't compile but the editor shows as everything is okey or just some warnings are visible.
Regards -- Michel Graciano Summa Technologies do Brasil Ltda. http://www.michelgraciano.com https://genesis.dev.java.net/ http://translatedfiles.netbeans.org/index_pt_BR.html https://copypastehistory.dev.java.net/ |
|
|
Re: [67cat] Bug at Java editor parsingFor me on RC3, NB shows no warning, no error, but compile reports error for:
Map<String, List<String>> status = new <String,List<String>>HashMap(); -Ulf Am 18.06.2009 22:22, Michel Graciano schrieb: > An friend of mine just face an issue yesterday at Java editor. Take a > look at issue http://www.netbeans.org/issues/show_bug.cgi?id=167336 > for details, but basically some Generics scenarios just doesn't > compile but the editor shows as everything is okey or just some > warnings are visible. > > Regards > -- > Michel Graciano > Summa Technologies do Brasil Ltda. > http://www.michelgraciano.com > https://genesis.dev.java.net/ > http://translatedfiles.netbeans.org/index_pt_BR.html > https://copypastehistory.dev.java.net/ |
|
|
Re: [67cat] Bug at Java editor parsingThe issue was closed as duplicated and the reason why this different behaviour happens too.
The reason is because it is acceptable for JDK 7, what looks like an error at pre jdk 7 javac. So, since IDE uses an updated javac implementation, looks like it is already fixed. The question now is if IDE should or not follow the JDK defined for the project... Regards On Thu, Jun 18, 2009 at 6:10 PM, Ulf Zibis <Ulf.Zibis@...> wrote: For me on RC3, NB shows no warning, no error, but compile reports error for: -- Michel Graciano Summa Technologies do Brasil Ltda. http://www.michelgraciano.com https://genesis.dev.java.net/ http://translatedfiles.netbeans.org/index_pt_BR.html https://copypastehistory.dev.java.net/ |
|
|
RE: [67cat] Bug at Java editor parsingThat's an interesting issue. IMO a warning is in order for static methods
and constructors. For those methods the rationale given in JLS 15.12.2.1 does no
apply, because they can't be overriding a method from a supertype (just hide
one, for static methods). This is true regardless of JDK
version.
Apart from that, I don't think that it makes sense to try to be
bug-compatible with Sun's JDKs. --nm
|
| Free embeddable forum powered by Nabble | Forum Help |