JDK-4346717 : Solaris: JVM doesn't start with any Greek locale
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris_8
  • CPU: sparc
  • Submitted: 2000-06-20
  • Updated: 2006-04-27
  • Resolved: 2006-04-27
Related Reports
Relates :  
Relates :  
Description
Solaris 8 locales=el_GR.ISO8859-7 and el_GR.ISO8859-7@euro.

Machine information is attached in the file algol.dat.
The test was run using Merlin build 20.

Install the Solaris 8 patches 108652-08 and 108940-03.
FontTest.tar is an attachment.  Retrieve the source code
and the script FontTest.ksh.  Login to the test locale,
export JAVA_HOME into your environment, and run
FontTest.ksh.

The program will bring up five panes entitled 
(1) AWT Labels, (2) AWT TextFields, (3) Swing Components,
(4) Java2D Stroke, and (5) Java2D Fill.

In each pane there is a grid of Strings.  There are 5 rows
and 4 columns.  The rows are labelled (1) Serif,
(2) SansSerif, (3) Monospaced, (4) Dialog, and 
(5) DialogInput.  The columns are labelled (1) Plain,
(2) Italic, (3) Bold, and (4) BoldItalic.

Also on each pane, in the upper right corner, are displayed
the locale and language, where the language is displayed
in the locale's language and is liable to contain non-English
characters.

Greek did not display in AWT TextFields.  Greek entered
using the input method displayed properly in TextFields, so this
is hard to understand.

In the el_GR.ISO8859-7@euro locale there is an additional problem;
there is an undisplayable character at the end of all strings
in all fields in all panes of the test.

allan.jacobs@Eng 2000-06-19

Comments
EVALUATION The only issue left here is to update the iso8859-7 to its 2003 version, which is being traced in RFE#6404504, closed this one (jvm does not start with any greek locale) as "not reproducible"
27-04-2006

EVALUATION This bug was filed before the integration of the Kestrel/Solaris and Ladybird changes. Can you please retry on a current build to see whether the problem still exists? norbert.lindenberg@Eng 2000-11-27 We now get a core dump instead. algol% uname -a SunOS algol 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-2 algol% showrev -p Patch: 109137-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 108974-06 Obsoletes: 109343-04 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcarx, SUNWcsxu, SUNWhea Patch: 108975-03 Obsoletes: Requires: 108968-01, 108974-01, 108977-01 Incompatibles: Packages: SUNWcsu, SUNWvolu Patch: 108528-03 Obsoletes: 109153-01, 109656-01, 109291-06, 109663-01, 109309-02, 109345-02 Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcarx, SUNWcar, SUNWcpr, SUNWcprx, SUNWcsxu, SUNWhea, SUNWmdb, SUNWmdbx, SUNWpmu, SUNWpmr, SUNWpmux, SUNWsrh, SUNWtnfc, SUNWtnfcx Patch: 108875-07 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWcsr, SUNWcslx, SUNWcsl, SUNWcarx, SUNWarc, SUNWcstl, SUNWcstlx, SUNWhea Patch: 109783-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 108985-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 109277-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu Patch: 108977-01 Obsoletes: Requires: 108974-01 Incompatibles: Packages: SUNWcsr, SUNWhea, SUNWvolu, SUNWvolux Patch: 108968-02 Obsoletes: Requires: 108974-01, 108977-01 Incompatibles: Packages: SUNWcsr, SUNWesu, SUNWhea, SUNWvolu, SUNWvolux Patch: 108652-18 Obsoletes: Requires: Incompatibles: Packages: SUNWxwfnt, SUNWxwplt, SUNWxwplx, SUNWxwinc, SUNWxwman, SUNWxwpmn, SUNWxwslb Patch: 108940-12 Obsoletes: Requires: Incompatibles: Packages: SUNWmfrun, SUNWdtbax Patch: 109320-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpcu, SUNWpsu Patch: 109951-01 Obsoletes: Requires: Incompatibles: Packages: SUNWjwnsu algol% /usr/local/java/jdk1.4.0/solsparc/bin/java -version java version "1.4.0beta" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0beta-b42) Java HotSpot(TM) Client VM (build 1.4beta-B42, mixed mode) algol% echo $LANG el_GR.ISO8859-7 algol% env | grep LC LC_MONETARY=el_GR.ISO8859-7 LC_TIME=el_GR.ISO8859-7 LC_MESSAGES=C LC_CTYPE=el_GR.ISO8859-7 LC_COLLATE=el_GR.ISO8859-7 LC_NUMERIC=el_GR.ISO8859-7 algol% /usr/local/java/jdk1.4.0/solsparc/bin/java_g -Djava.compiler=NONE -cp . FontTest default to Motif 2.1, os is: 5.8 Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 136 in java.awt.Component Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 140 in java.awt.Component Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 144 in java.awt.Component Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 148 in java.awt.Component Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 167 in java.awt.Component Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 172 in java.awt.Container Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 220 in java.awt.Window Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 288 in java.awt.Frame Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 280 in java.awt.Frame Locale: el_GR/???????? Variant: Country: GR User.language: el User.region: GR /usr/openwin/lib/X11/fonts/TrueType/CourierNew.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/X11/fonts/TrueType/Arial-BoldItalic.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/X11/fonts/TrueType/Arial-Bold.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/X11/fonts/TrueType/CourierNew-BoldItalic.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/X11/fonts/TrueType/CourierNew-Bold.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/X11/fonts/TrueType/CourierNew-Italic.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/X11/fonts/TrueType/Arial-Italic.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/X11/fonts/TrueType/Arial.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman-BoldItalic.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman-Bold.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/X11/fonts/TrueType/TimesNewRoman-Italic.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterRegular.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterBold.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterOblique.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaTypewriterBoldOblique.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightRegular.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightDemiBold.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightItalic.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaBrightDemiItalic.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansRegular.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansDemiBold.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansOblique.ttf - CMAP 3,1 found at offset 282. /usr/local/java/jdk1.4/solsparc/jre/lib/fonts/LucidaSansDemiOblique.ttf - CMAP 3,1 found at offset 282. /usr/openwin/lib/X11/fonts/TrueType/CourierNew.ttf - CMAP 3,1 found at offset 282. wDOW=-21525, wABC=72 Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 128 in sun.java2d.SunGraphics2D Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 132 in sun.java2d.SunGraphics2D Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 136 in sun.java2d.SunGraphics2D /usr/openwin/lib/X11/fonts/TrueType/Arial-Bold.ttf - CMAP 3,1 found at offset 282. Java HotSpot(TM) Client VM warning: VerifyJNIFields: long offset 204 in java.awt.TextField awt_motif_getIMStatusHeight: Height = 16 # # An unexpected exception has been detected in native code outside the VM. # Program counter=0x2d6d6564 # # Problematic Thread: prio=5 tid=0x3a4a0 nid=0x1 runnable # Dumping core.... Abort (core dumped) ###@###.### 2001-11-15 merlin java vm even does not start, transfer to runtime team for further investigation. (it works on jdk1.3.1) [sherman@xueming:/home/sherman/test:19]setenv LC_ALL el_GR.ISO8859-7 [sherman@xueming:/home/sherman/test:20]java -fullversion java full version "1.4.0-rc-b86" [sherman@xueming:/home/sherman/test:21]java -version Error occurred during initialization of VM java.lang.NullPointerException [sherman@xueming:/home/sherman/test:22] Please read Comment for this bug. ###@###.### 2002-02-11 nl_langinfo(CODESET) on Solaris 8 returns "sun_eu_greek" which is missing in the character set table. On Solaris 2.6, it was "ISO8859-7" in el locale. ###@###.### 2002-02-12 Would appear that what is needed is to add a converter with canonical name, sun_eu_greek which is a variant of ISO-8859-7 with a mapping for Euro currency symbol. ###@###.### 2002-02-12 No new converter needed. Encoding alias tables will be updated with an alias entry for "eu_sun_greek" mapping to the ISO-8859-7 converter. Regardless of this bug 4629543 fixes the issue of JVM not starting on Solaris 8 w/Greek locales. However, alias update is required to get the default encoding correct for Solaris 8/Greek. ###@###.### 2002-04-30 The above isn't quite correct. The new version of ISO 8859-7 is not finalized yet, and the current one (of 1988) doesn't have the euro character yet. sun_eu_greek adds the euro character to ISO 8859-7, the new version a few characters more. We therefore need a separate sun_eu_greek converter soon (see 4182111), and an update to the ISO 8859-7 converter when the new version of the standard is final. The alias from sun_eu_greek to ISO 8859-7 needs to be removed. ###@###.### 2003-01-07 New ISO-8859-7:2003 update is now a confirmed ISO standard. J2SE ISO-8859-7 charset implementation will need to be revised to take account of the ISO revised standard. This should also eliminate the requirement to cobundle a "sun_eu_greek" pseudo charset implementation to provide Euro support for Java apps running in Greek locales. ###@###.### 2004-01-27
27-01-2004