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.

Bug 38864 - [JDK1.5.0] Wrong class file message
Summary: [JDK1.5.0] Wrong class file message
Status: RESOLVED DUPLICATE of bug 38414
Alias: None
Product: java
Classification: Unclassified
Component: Classfile (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: _ tball
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-15 21:29 UTC by levmatta
Modified: 2004-08-13 12:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description levmatta 2004-01-15 21:29:09 UTC
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.
Comment 1 psuk 2004-02-29 02:25:14 UTC
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?
Comment 2 levmatta 2004-02-29 21:06:34 UTC
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.
Comment 3 Milan Kubec 2004-03-01 08:12:53 UTC

*** This issue has been marked as a duplicate of 38414 ***