harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elena Semukhina" <elena.semukh...@gmail.com>
Subject Re: [drlvm] NPE is thrown when the kernel tests are run on Windows at revision 448448
Date Tue, 26 Sep 2006 10:53:18 GMT
On 9/26/06, Spark Shen <smallsmallorgan@gmail.com> wrote:
>
> Geir Magnusson Jr. 写道:
> >
> > On Sep 21, 2006, at 10:07 PM, Paulex Yang wrote:
> >
> >> Geir Magnusson Jr. wrote:
> >>> Do you think this is a drlvm issue or a classlib issue?
> >> I guess it is an integration issue, i.e., ICU4J's UCharacter needs to
> >> load some resources for initialization, while at that time on DRLVM,
> >> some necessary kernel classes haven't been inited, so that the
> >> UCharacter cannot load these properties sucessfully and leave them to
> >> null. I'll roll back the patch for Character temporarily if no one
> >> objects, and will look inside later(I need to checkout ICU4J's source
> >> at first ...).
> >
> > Fascinating. What are we missing in DRLVM?
> After a long investigation, I thought the jar package icu4j_3.4.4 was
> not loaded by DRLVM. And I modified
> build\make\targets\kernel.test.xml:
> Line 204: <jvmarg
>
> value="-Xbootclasspath/p:c:\spark\drlvm\build\deploy\jre\lib\boot\icu4j_3.4.4\icu4j_3_4_4.jar"
> />
> then no more NPE will be thrown out.
>
> I want to reproduce this bug on r449972, but as another thread [[drlvm]
> none of kernel tests passed for the recent sources] depicts.
> So I could not verify whether this is a work around. Could anyone gives
> a hint?


Kernel tests running issue has been solved after the patch from HARMONY-1457
has been applied (please see [drlvm] my latest round of patches broke
something]). Please do svn update for drlvm and run
build.bat update
build.bat
build.bat test

Best regards
> >
> > geir
> >
> >>>
> >>> geir
> >>>
> >>> On Sep 21, 2006, at 1:07 AM, Vladimir Gorr wrote:
> >>>
> >>>> NPE is thrown for all kernel tests when testing is run on Windows at
> >>>> revision 448448:
> >>>>
> >>>> build.bat -Djunit.jar=%JUNIT_HOME%/junit-4.0.jar kernel.test
> >>>>
> >>>> ...
> >>>> [echo] RUNNING : java.lang.Class1_5Test
> >>>> [junit] java.lang.NullPointerException
> >>>> [junit] at com.ibm.icu.lang.UCharacter.getProperty(UCharacter.java
> >>>> :6073)
> >>>>
> >>>> [junit] at com.ibm.icu.lang.UCharacter.getType(UCharacter.java:2974)
> >>>> [junit] at com.ibm.icu.lang.UCharacter.isWhitespace(UCharacter.java
> >>>> :3162)
> >>>> [junit] at java.lang.Character.isWhitespace(Character.java:3091)
> >>>> [junit] at java.lang.Character.isWhitespace(Character.java:3078)
> >>>> [junit] at java.util.Properties.load(Properties.java:378)
> >>>> [junit] at java.util.PropertyResourceBundle.<init>(
> >>>> PropertyResourceBundle.java:44)
> >>>> snipped
> >>>>
> >>>> Does anybody observe this issue? As for Linux all works fine.
> >>>>
> >>>> Thanks,
> >>>> Vladimir.
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> Terms of use : http://incubator.apache.org/harmony/mailing.html
> >>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> >>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >>>
> >>>
> >>
> >>
> >> --Paulex Yang
> >> China Software Development Lab
> >> IBM
> >>
> >>
> >> ---------------------------------------------------------------------
> >> Terms of use : http://incubator.apache.org/harmony/mailing.html
> >> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> >> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> > Terms of use : http://incubator.apache.org/harmony/mailing.html
> > To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> > For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> >
> >
>
>
> --
> Spark Shen
> China Software Development Lab, IBM
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>


-- 
Thanks,
Elena

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message