Hi Alexey, I did change below, then it works.
bootclasspath.33=accessibility.jar bootclasspath.source.33=accessibility-src.jar bootclasspath.source.packageroot.33=/ bootclasspath.0=icu4j_3.4.4/icu4j_3_4_4.jar On 12/29/06, Tony Wu <[EMAIL PROTECTED]> wrote:
Oh, I see. Thanks Alexey. Seems, VM loads its libraries from bootclasspath in some order. Shall we edit the bootclasspath.properties in order to make the icu4j.jar be loaded at first? On 12/29/06, Alexey Petrenko <[EMAIL PROTECTED]> wrote: > Tony, > > your patch looks broken... > I could not run even HelloWorld on IBM VME and DRL VM on Linux and > Windows with your patch. Everything works fine without it. > Probably you've broke something while adopted it to current sources... > > Here is the error messages: > IBM VME on Linux: > <[EMAIL PROTECTED]/work/harmony/working_classlib>deploy/jdk/jre/bin/java > -cp ../../tests/ Hello > Exception in thread "main" java/lang/ExceptionInInitializerError > at java/lang/J9VMInternals.initialize (J9VMInternals.java:195) > at java/lang/Character.toLowerCase (Character.java:3076) > at java/lang/String.toLowerCase (String.java:1503) > at java/lang/String.toLowerCase (String.java:1488) > at java/util/Locale.<init> (Locale.java:220) > at java/util/Locale.<init> (Locale.java:202) > at java/util/Locale.<clinit> (Locale.java:57) > at java/lang/J9VMInternals.initializeImpl (Native Method) > at java/lang/J9VMInternals.initialize (J9VMInternals.java:177) > at java/lang/String.toLowerCase (String.java:1488) > at java/net/URL.<init> (URL.java:269) > at java/net/URL.<init> (URL.java:156) > at com/ibm/oti/vm/URLExtensionClassLoader.getClassPath > (URLExtensionClassLoader.java:78) > at com/ibm/oti/vm/URLExtensionClassLoader.<clinit> > (URLExtensionClassLoader.java:19) > at java/lang/J9VMInternals.initializeImpl (Native Method) > at java/lang/J9VMInternals.initialize (J9VMInternals.java:177) > at java/lang/ClassLoader.initializeClassLoaders (ClassLoader.java:86) > at java/lang/Thread.initialize (Thread.java:339) > at java/lang/Thread.<init> (Thread.java:126) > java/lang/NullPointerException > at com/ibm/icu/lang/UCharacter.toUpperCase (UCharacter.java:3431) > at java/lang/Character.toUpperCase (Character.java:3148) > at java/lang/String.regionMatches (String.java:1309) > at java/util/jar/JarFile.readMetaEntries (JarFile.java:306) > at java/util/jar/JarFile.<init> (JarFile.java:205) > at java/util/jar/JarFile.<init> (JarFile.java:186) > at com/ibm/oti/vm/AbstractClassLoader.fillCache > (AbstractClassLoader.java:95) > at com/ibm/oti/vm/AbstractClassLoader.getResourceAsStream > (AbstractClassLoader.java:134) > at java/lang/ClassLoader.getSystemResourceAsStream > (ClassLoader.java:579) > at java/lang/Class.getResourceAsStream (Class.java:1109) > at com/ibm/icu/impl/ICUData.getStream (ICUData.java:52) > at com/ibm/icu/impl/ICUData.getRequiredStream (ICUData.java:97) > at com/ibm/icu/impl/UPropertyAliases.<init> (UPropertyAliases.java:122) > at com/ibm/icu/lang/UCharacter.<clinit> (UCharacter.java:5680) > at java/lang/J9VMInternals.initializeImpl (Native Method) > at java/lang/J9VMInternals.initialize (J9VMInternals.java:177) > at java/lang/Character.toLowerCase (Character.java:3076) > at java/lang/String.toLowerCase (String.java:1503) > at java/lang/String.toLowerCase (String.java:1488) > at java/util/Locale.<init> (Locale.java:220) > at java/util/Locale.<init> (Locale.java:202) > at java/util/Locale.<clinit> (Locale.java:57) > at java/lang/J9VMInternals.initializeImpl (Native Method) > at java/lang/J9VMInternals.initialize (J9VMInternals.java:177) > at java/lang/String.toLowerCase (String.java:1488) > at java/net/URL.<init> (URL.java:269) > at java/net/URL.<init> (URL.java:156) > at com/ibm/oti/vm/URLExtensionClassLoader.getClassPath > (URLExtensionClassLoader.java:78) > at com/ibm/oti/vm/URLExtensionClassLoader.<clinit> > (URLExtensionClassLoader.java:19) > at java/lang/J9VMInternals.initializeImpl (Native Method) > at java/lang/J9VMInternals.initialize (J9VMInternals.java:177) > at java/lang/ClassLoader.initializeClassLoaders (ClassLoader.java:86) > at java/lang/Thread.initialize (Thread.java:339) > at java/lang/Thread.<init> (Thread.java:126) > JVMJ9VM015W Initialization error for library jclclear_23(14): > JVMJ9VM009E J9VMDllMain failed > HMYEXEL062E Internal VM error: Failed to create Java VM > FAILED to invoke JVM. > > And much less from DRLVM :) > <[EMAIL PROTECTED]/work/harmony/working_vm/build>lnx_ia32_gcc_debug/deploy/jdk/jre/bin/java > -cp ../../../tests/ Hello > HMYEXEL062E Internal VM error: Failed to create Java VM > FAILED to invoke JVM. > > SY, Alexey > > 2006/12/29, Tony Wu <[EMAIL PROTECTED]>: > > Hi Alexey, > > > > I'm sorry the patch is out of date. I have submitted new one. Sorry > > for the inconvenience caused and thanks very much for your help :) > > > > On 12/29/06, Alexey Petrenko <[EMAIL PROTECTED]> wrote: > > > Tony, > > > > > > your patch can not be applied to current sources :( > > > > > > SY, Alexey > > > > > > 2006/12/28, Tony Wu <[EMAIL PROTECTED]>: > > > > Hi all, > > > > > > > > My works on upgrating java.lang.Character from 3.0 to unicode 4.1 > > > > compatible was blocked by "NPE is thrown when the kernel tests are run > > > > on Windows". please refer to [1] for detail. IIRC, The problem is vm > > > > uses the j.l.Character before icu has been loaded. > > > > > > > > I tired on my own laptop and did not reproduce that failure. Would any > > > > drlvm guru have time help me to verify that? Great Thanks! > > > > > > > > [1] > > > > http://www.mail-archive.com/[email protected]/msg13839.html > > > > > > > > > > > > ---------- Forwarded message ---------- > > > > From: Tony Wu (JIRA) <[EMAIL PROTECTED]> > > > > Date: Sep 20, 2006 3:25 PM > > > > Subject: [jira] Created: (HARMONY-1500) [classlib][luni]Refactor some > > > > methods in java.lang.Character > > > > To: [EMAIL PROTECTED] > > > > > > > > > > > > [classlib][luni]Refactor some methods in java.lang.Character > > > > ------------------------------------------------------------ > > > > > > > > Key: HARMONY-1500 > > > > URL: http://issues.apache.org/jira/browse/HARMONY-1500 > > > > Project: Harmony > > > > Issue Type: Improvement > > > > Components: Classlib > > > > Reporter: Tony Wu > > > > > > > > > > > > Some methods in java.lang.Character need to be refactored to support unicode4.1 > > > > such as, > > > > getType(char),getNumericValue(char),getDirectionality(char),toUpperCase(char), > > > > toLowerCase(char),toTitleCase(char),digit(char,int),isMirrored(char), > > > > isWhitespace(char),isUpperCase(char),isUnicodeIdentifierStart(char), > > > > isUnicodeIdentifierPart(char),isTitleCase(char),isSpaceChar(char) and > > > > isLowerCase(char). > > > > > > > > And some testcases for them are added . > > > > > > > > > > > > -- > > > > This message is automatically generated by JIRA. > > > > - > > > > If you think it was sent incorrectly contact one of the > > > > administrators: > > > > http://issues.apache.org/jira/secure/Administrators.jspa > > > > - > > > > For more information on JIRA, see: http://www.atlassian.com/software/jira > > > > > > > > > > > > > > > > > > > > -- > > > > Tony Wu > > > > China Software Development Lab, IBM > > > > > > > > > > > > > -- > > Tony Wu > > China Software Development Lab, IBM > > > -- Tony Wu China Software Development Lab, IBM
-- Tony Wu China Software Development Lab, IBM
