This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Editor is showing an error because class file is of version 49 (48 is expected), since it was compiled with java 1.5. This should be foreward compatible.
The format of classfile was changed for 1.5 and the change was not known yet in time of 1.4. Should be fixed for promoD. Can you copy the error message into this bug report?
I dont whant to leave you hanging for the answer, so I am writing this. Currently, I wont be able to return the error message of this bug. But I can explain it a bit more: In the editor it appeared (at the line declaring the class) a source error mark, wich tooltip informed that the class was of a wrong version (as posted). It just seams to me that the class inspection should accept bigger version than the last known one. In fact I beleive that this message is totally wrong. For me, the inspection should report errors in class files for the versions it knows, and try to verify newer ones ignoring erros (or reporting that it could not inspect it). If you whant to test it, compile some source with the java2 sdk 1.5.0 beta. But it has being a long time since I tested this. Thanks.
*** This issue has been marked as a duplicate of 38414 ***