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 165666

Summary: I18N : "Unexpected" is not from bundle, better to use more useful hint
Product: ruby Reporter: Masaki Katakai <masaki>
Component: HintsAssignee: Erno Mononen <emononen>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: jf4jbug
Priority: P2 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description Masaki Katakai 2009-05-21 06:25:51 UTC
Product Version: NetBeans IDE Dev (Build 200905181401)
Java: 1.6.0_07; Java HotSpot(TM) 64-Bit Server VM 1.6.0_07-b06-57
System: Mac OS X version 10.5.7 running on x86_64 ; SJIS; ko (nb)

When Japanese is used in class name, it's invalid usage so
error should happen. However, it seems that the "Unexpected" hint
on editor is not from bundle. I could not find the exact code in
NetBeans source tree.

Also just "Unexpected" is not reasonable hint for users who do not
know Japanese can not be used in class name.
Comment 1 Masaki Katakai 2009-05-21 06:32:35 UTC
Created attachment 82525 [details]
screenshot
Comment 2 Erno Mononen 2009-05-21 07:46:36 UTC
The message comes directly from the parser, not much we can do on the IDE side right now.

*** This issue has been marked as a duplicate of 106162 ***
Comment 3 Masaki Katakai 2009-05-21 07:49:40 UTC
I see, thank you for the evaluation.