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.
Steps to reproduce: uml project by reverse engineering 1. create package (name 'somename') with scoped class diagram 2. add class to the diagram 3. try to name class 'String' on the diagram error message appears, class isn't named /// 4. add 'String' class in the package in java project error message apears, and Unnamed class appears in model 5. compile 'String.java' it's OK! Evaluation: Hi Trey, - As I get no reply I revert state to Defect - There was error message in Bow (it should be the issue against Bow) But current issue is not the same as in Bow: in Bow I was able to create class 'String' and work with 'String' in model and source, but now I can not. Moreover It's a real defect: - why I can create 'ArrayList' class but can't create 'String' class - the message about wrong characters, reserved words, valid identifier can't be applied in the case - If you think it still the same as in Bow, please add bow_dev but not 'RFE'. Thanks, Sergey Evaluation (Entry 2): It still a defect, with may be two separate issues - inappropriate error(warning) - the same as in Bow - impossibility to create 'String' class - regression, according to java language specification the only restrictions for java identifiers: "An identifier cannot have the same spelling (Unicode character sequence) as a keyword, boolean literal, or the null literal." "String" isn't keyword/boolean literal/null literal and consist of valid java letters. It should be possible to create 'String' in java platform uml. Also look at 4th step result.
I agree String should not be treated as built-in Java data type.
Verified in NetBeans 5.5 Beta 2 (Build 200607190830)