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 29627 - NoSuchMethod in PropertiesParser.java under JDK 1.3
Summary: NoSuchMethod in PropertiesParser.java under JDK 1.3
Status: CLOSED WONTFIX
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@utilities
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-18 20:39 UTC by _ mihmax
Modified: 2003-07-01 14:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
part of ide.log with two stack traces (11.79 KB, text/plain)
2002-12-18 20:42 UTC, _ mihmax
Details
Proposed patch (1.17 KB, patch)
2002-12-18 21:10 UTC, _ mihmax
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ mihmax 2002-12-18 20:39:39 UTC
The error is raised on startup in
PropertiesParser.readNextElem (line 194), full
stack trace attached.

Priority is P1 because IDE doesn't start at all.
Comment 1 _ mihmax 2002-12-18 20:42:47 UTC
Created attachment 8370 [details]
part of ide.log with two stack traces
Comment 2 _ mihmax 2002-12-18 20:47:53 UTC
Ah, I forgot:
JDK 1.4 is OK,
but under JDK 1.3.1 - this weird thing.

I suppose it's simply some 1.4 code up there
Comment 3 _ mihmax 2002-12-18 21:08:50 UTC
Yeah,
StringBuffer.append(StringBuffer) since 1.4

I wander, how a 1.3 build did this through!
Comment 4 _ mihmax 2002-12-18 21:10:04 UTC
Created attachment 8371 [details]
Proposed patch
Comment 5 _ mihmax 2002-12-18 21:14:06 UTC
Fixed in release341 branch:

Checking in
properties/src/org/netbeans/modules/properties/PropertiesParser.java;
new revision: 1.26.78.1; previous revision: 1.26

-------------------------
Any objections welcome, don't forget to commit into main trunk (if it
wasn't done before ;-)
Comment 6 _ pkuzel 2003-01-09 13:39:24 UTC
Max you got it. NetBeans must be compiled by javac 1.3 against JRE 1.3
libraries. It is not NetBeans specifics problem, the same happens to
Apaches Xerces, Jini Rio, ...

I have not applied your patch to trunk as it is workaround that need
to be removed once moving to JRE 1.4. 

However, it's OK to have it in NB Merak :-).
Comment 7 _ mihmax 2003-01-10 13:07:51 UTC
Why you've not included in into 4.0?
Is 4.0 for 1.4 only? We've had a lot of discussions, and you should
know the result - 4.0 will support both 1.3 and 1.4.
Comment 8 _ pkuzel 2003-01-13 10:24:58 UTC
It'll support both. But it must be compiled with javac 1.3 to assure it!
Comment 9 pfelenda 2003-01-20 12:48:06 UTC
Verified
Comment 10 Quality Engineering 2003-07-01 14:20:53 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.