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 60507 - JspDataObject cannot be compiled with Mustang
Summary: JspDataObject cannot be compiled with Mustang
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords: JDK_SPECIFIC
Depends on:
Blocks:
 
Reported: 2005-06-25 04:08 UTC by Antonin Nebuzelsky
Modified: 2008-07-11 15:36 UTC (History)
1 user (show)

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 Antonin Nebuzelsky 2005-06-25 04:08:34 UTC
When compiling the IDE with Mustang b40 I came across

sun.io.CharToByteConverter.getConverter(encoding);

in JspDataObject.java which cannot be compiled. sun.io.CharToByteConverter is
not available anymore.
Comment 1 Jesse Glick 2005-06-26 01:30:28 UTC
Would presumably throw a NCDFE if you tried to use it at runtime. In fact you do
not need this class, and have not needed it since JDK 1.4. For hints, see

http://www.netbeans.org/source/browse/java/src/org/netbeans/modules/java/JavaNode.java?r1=1.127&r2=1.128
Comment 2 Jesse Glick 2005-06-26 01:39:10 UTC
Broken in 4.1 too.
Comment 3 Pavel Buzek 2005-07-25 01:04:31 UTC
will fix for 4.2
Comment 4 Pavel Buzek 2005-09-07 19:28:23 UTC
Thanks for the hint. I applied the same fix.

Checking in src/org/netbeans/modules/web/core/jsploader/JspDataObject.java;
/cvs/web/core/src/org/netbeans/modules/web/core/jsploader/JspDataObject.java,v 
<--  JspDataObject.java
new revision: 1.58; previous revision: 1.57
done
Comment 5 josin 2008-07-11 15:36:00 UTC
Changing status to verified.