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 182079 - I18N : Editor hint does not work when compiler messages are localized
Summary: I18N : Editor hint does not work when compiler messages are localized
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Karol Harezlak
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2010-03-16 05:05 UTC by Masaki Katakai
Modified: 2010-03-23 09:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot (61.64 KB, image/png)
2010-03-16 05:05 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2010-03-16 05:05:37 UTC
Created attachment 95216 [details]
screenshot

It seems that compiler error messages are localized, JavaFX editor can not show the hints for "cannot find symbol". Please refer the screenshot.

1. Start NetBeans in ja or zh_CN locale
2. Create a project from default project
3. Remove the line "import javafx.scene.text.Font;" on editor

"cannot find symbol" errors happen and will be shown in task list.

Also suggestion should appear on editor. However, it shows just error icon.

When NetBeans is started in English locale, suggestion icon will be shown.

It works even in ja locale when I remove these localized class from javafxc.jar of SDK.

deleting: com/sun/javafx/runtime/resources/launcher_ja.class
deleting: com/sun/tools/mjavac/resources/compiler_ja.class
deleting: com/sun/tools/mjavac/resources/javac_ja.class
Comment 1 Anton Chechel 2010-03-17 13:35:04 UTC
error badging -> Yardus
Comment 2 J Bachorik 2010-03-17 13:48:04 UTC
Not really :) -> Karol
Comment 3 Karol Harezlak 2010-03-17 13:54:24 UTC
It's just this hint? Did you test all of them?
Comment 4 Karol Harezlak 2010-03-18 09:55:39 UTC
fixed,

http://hg.netbeans.org/javafx/rev/e9e9f75f40a6
Comment 5 Masaki Katakai 2010-03-23 09:54:10 UTC
Great! Thank you very much!

I've verified it works on build 201003220200.