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 89163 - I18N - save diagram in ja locales on solaris gives error mesage and then cant generate code
Summary: I18N - save diagram in ja locales on solaris gives error mesage and then can...
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Diagram Class (show other bugs)
Version: 5.x
Hardware: Sun All
: P1 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-11 23:13 UTC by Ken Frank
Modified: 2007-02-15 16:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2006-11-11 23:13:20 UTC
see this in griffin beta functionality but not in current coco, but i thought
current coco based on griffin

not related to localization since not about messages

happens on solaris, not windows, and in ja locales, not so far in zh locale

1. be in ja locale - ja or ja_JP.PCK on solaris

2. new project - uml - java platform

3. create class diagram and drop a class from pallette; give it a name;
does not matter if all english in name.

4. save the diagram or project

5. in console of where ide was started from is this message:

Warning:  The encoding 'EUC_JP_Solaris' is not supported by the Java runtime



6. in zh locale, this does not happen; on windows in ja locale this does not
happen

7. results is that you can't generate code also, and assuming other effects
from this; thats why its p1. (that is, no code is generated, whereas it is
in en or zh locale)

8. in solaris ja pck locale, the message refers to PCK

9. am wondering if something is viewing the encoding with the word Solaris
when usually the encoding of ja solaris locale is EUC_JP or some variant of that 
; actually in messages.log the locale is stated as 
System Locale; Encoding = ja_JP (nb); eucJP-open

10. creating another kind of file, like an xml one or java one,
the error message is not displayed in console when go to save the file.
Comment 1 Yang Su 2007-01-04 23:19:19 UTC
Coco code has been merged to Griffin code base, I cannot reproduce it with
latest Griffin daily build (01/03/07) on Solaris under ja and ja_JP.PCK locale.
I dropped a class on the diagram and gave it mbyte name, project and diagram
were saved properly, I could also generate Java code from the model and navigate
to the source code without problem. 

Mark it as fixed. 
Comment 2 Ken Frank 2007-02-15 16:20:38 UTC
verified using current griffin nbms

ken.frank@sun.com
Comment 3 Ken Frank 2007-02-15 16:36:06 UTC
verified