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 13960 - Compiler problem - cannot access java.lang.Object (JDK 1.4)
Summary: Compiler problem - cannot access java.lang.Object (JDK 1.4)
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
: 15152 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-07-26 11:14 UTC by Tomas Hurka
Modified: 2007-09-26 09:14 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 Tomas Hurka 2001-07-26 11:14:38 UTC
(Lori Adams)
I have received this compiler error about 80% of the time using FFJ build 010720
and jdk_1.4 build 72:
foo.java cannot access java.lang.Object
bad class file: java/lang/Object.class
class file has wrong version 48.0 should be 47.0
Please remove or make sure it appears in the correct subdirectory of the
classpath.
	private fooChanged(javax.swing.event.ChangeEvent evt) {
1 error

This has happened with a JApplet, JFrame, and Empty Class.  It does not happen
every time.  

This bug was moved from bugtraq. Bugtraq ID 4483612
Comment 1 Tomas Hurka 2001-07-31 14:10:15 UTC
fixed in trunk and release32 branch
Comment 2 Ivan Bradac 2001-08-29 10:45:34 UTC
BUG also appears in version : FFJ30
Comment 3 Ivan Bradac 2001-09-05 16:44:56 UTC
*** Issue 15152 has been marked as a duplicate of this issue. ***
Comment 4 Jan Becicka 2001-09-19 09:04:36 UTC
[200109190100] Verified
Comment 5 Jan Becicka 2001-09-25 09:18:34 UTC
Verified in JP3 for FFJ30
Comment 6 Tomas Brandalik 2001-09-25 12:28:29 UTC
I have reproduced the bug.
If internal compilation is set I cannot compile Foo object which
extends java.lang.Object. Error "cannot access java.lang.Object"

OS: Linux RH 7.1
IDE build: ffj 3.0 fcs updated with JP 3.1
jdk 1.4.0-b77
Comment 7 Jan Becicka 2001-09-25 12:33:11 UTC
Which modules have you updated from JP?
Only java?
Comment 8 Tomas Brandalik 2001-09-25 12:53:03 UTC
My userdir pointed to wrong  not updated directory.
Fix in JP 3.1 works fine.
sorry
Comment 9 Jan Becicka 2001-10-03 15:33:59 UTC
Verified
Comment 10 Quality Engineering 2003-07-01 13:19:04 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.