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.
[#070605, jdk1.5.0] to reproduce: ------------- 1) set project.properties:source.encoding property to a unsupported charset name 2) open the J2SE Project ERROR: IDE throws:
Created attachment 43327 [details] UnsupportedCharsetException
Checking in src/org/netbeans/modules/java/j2seproject/J2SEProject.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEProject.java,v <-- J2SEProject.java new revision: 1.91; previous revision: 1.90 done Checking in src/org/netbeans/modules/java/j2seproject/queries/J2SEProjectEncodingQueryImpl.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/queries/J2SEProjectEncodingQueryImpl.java,v <-- J2SEProjectEncodingQueryImpl.java new revision: 1.3; previous revision: 1.2 done
I've fixed the exception and log the project with unsupported encoding, but there should be an UI warning user about it, something like Broken References dialog. Or the project should be at least marked as broken and the charset name should be red, I am not sure. Jano, do you have any idea?
Does it mean that in the properties dialog the user can select encoding that doesn't work?
Not, you can choose only from encodings supported by current platform. But you can move the project (eg. cvs commit/checkout) on other platform where the original encoding is not supported (valid).
Obsolete milestone, please reevaluate
Jan please evaluate. Thanks
Resolving all issues with milestone "future" as LATER. If you feel strongly that it should be implemented please reopen and set the target milestone to "next".
NetBeans.org Migration: changing resolution from LATER to WONTFIX