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 106942 - I18N - code completion shows choice with incorrect multibyte if choice is from another class
Summary: I18N - code completion shows choice with incorrect multibyte if choice is fro...
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-06-17 17:45 UTC by Ken Frank
Modified: 2007-10-01 17:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
zip (9.24 KB, application/x-compressed)
2007-06-17 17:47 UTC, Ken Frank
Details
java file (1.15 KB, text/plain)
2007-06-17 17:48 UTC, Ken Frank
Details
jpg of completion choices (103.12 KB, image/jpeg)
2007-06-17 17:49 UTC, Ken Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2007-06-17 17:45:33 UTC
From report by Masaski 

have 2 java classes in same project, in same package; each have variable with multibyte name defined.

in one file, invoke code completion on a class that is defined in the other file -- the multibyte in the code completion
is not
correct -- see the attached java files and gif and project (project files not exactly same as the java files since those
are based on adding some lines to experiment)

(and choosing that completion choice, the multibyte is entered incorrectly in editor)

however, if invoke code completion on variable with multibyte defined in same file, the multibyte is correct.

changing project encoding to euc-jp (in case of solaris where am in ja locale, although this happens on other platforms)
does not make any difference.
Comment 1 Ken Frank 2007-06-17 17:47:30 UTC
Created attachment 43857 [details]
zip
Comment 2 Ken Frank 2007-06-17 17:48:14 UTC
Created attachment 43858 [details]
java file
Comment 3 Ken Frank 2007-06-17 17:49:09 UTC
Created attachment 43859 [details]
jpg of completion choices
Comment 4 Jan Lahoda 2007-06-18 14:23:19 UTC
I was able to reproduce the problem on Japan Solaris (I had problems on my Linux - probably fonts missing. Any pointer
for Japan support in Java on Linux/Ubuntu?) The signature files seem to be written and loaded OK (tested by checking the
files on disk and using the "Inspect Members" feature. So assigning to Dusan for further investigation.
Comment 5 Ken Frank 2007-06-18 16:02:42 UTC
for linux, suggest you use RH4 for now, as its our official supported linux since ubuntu requires using
their own jdk; there are workaround steps related to this but for this issue its not needed to use ubuntu
(and actually enough to use solaris and windows).

please investigate also if there are other things related to encoding in the editor areas - it might be
that the new project encoding property and assumptions might be related to this and thus other parts
might be impacted as well.

ken.frank@sun.com
Comment 6 Dusan Balek 2007-06-26 09:19:35 UTC
Reassigning to Tomas
Comment 8 Ken Frank 2007-07-06 19:27:41 UTC
Masaki, it seems to look ok now; let me know if its ok for you.

ken.frank@sun.com
Comment 9 Ken Frank 2007-10-01 17:04:50 UTC
verifying.

ken.frank@sun.com