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.
Description: Wrong code generation when a boolean type is used as discriminator. When the following statement in a idl file was compiled, union FloatTypeOpt switch (boolean) { case TRUE: float value; }; the folloving code was generated in the FloatTypeOpt.java file:: private void verifyDefault( boolean value ) { switch (value) { case true: throw new org.omg.CORBA.BAD_OPERATION() ; default: return; } } When java file is compiled the switch on a boolean is not allowed. Evaluation: Not a showstopper for Nevada/NB3.5. Works for me with JDK 1.4.1 (supported JDK for Nevada). This is probably a problem of JDK 1.3 IDL compiler. xxx@xxxx 2003-04-07 (moved from bugtraq (#4751204)). A comment.
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team