harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Serguei Zapreyev (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1651) [drlvm][kernel] Some issues in j.l.Package implementation
Date Mon, 02 Oct 2006 08:00:20 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1651?page=all ]

Serguei Zapreyev updated HARMONY-1651:

    Attachment: Test1.java

The tests pass after the fix:

szapreye@nstdrlel16:~> /nfs/ins/proj/drl/coreapi/ZSS/G57/trunk/working_vm/build/lnx_ia32_gcc_debug/deploy/jre/bin/java
-classpath /nfs/ins/proj/drl/coreapi/ZSS/my_tests Test1
Test passed.
szapreye@nstdrlel16:~> /nfs/ins/proj/drl/coreapi/ZSS/G57/trunk/working_vm/build/lnx_ia32_gc
c_debug/deploy/jre/bin/java -classpath /nfs/ins/proj/drl/coreapi/ZSS/my_tests Test2
Test passed.
szapreye@nstdrlel16:~> /nfs/ins/proj/drl/coreapi/ZSS/G57/trunk/working_vm/build/lnx_ia32_gcc_debug/deploy/jre/bin/java
-classpath /nfs/ins/proj/drl/coreapi/ZSS/G3/classlib/trunk/dep
ends/jars/xalan-j_2.7.0/xalan.jar:/nfs/ins/proj/drl/coreapi/ZSS/my_tests j.l.Test3
Test case #1 passed
Test case #2 passed
Test case #3 passed
Test case #4 passed
Test case #5 passed
Test case #6 passed
Test case #7 passed
Test case #8 passed

> [drlvm][kernel] Some issues in j.l.Package implementation
> ---------------------------------------------------------
>                 Key: HARMONY-1651
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1651
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Serguei Zapreyev
>         Attachments: H1651.jlP_impl.patch, Test1.java, Test2.java, Test3.java
> Some defects in Package impl: 
> - Package.isCompatibleWith("") throws NPE instead of NumberFormatException (Teast1).

>   Throwing the NumberFormatException as demanded resolves the issue. 
> - java.lang.Package.isSealed((java.net.URL)null) should throw NPE (Teast2). 
>   Throwing the NulPointerException as demanded resolves the issue. 
> - pakage info inaccessibility (DRLVM does not provide access to information describing
a package.)   
>   (Teast3). 
>   Changing the dot-separated Manifest entry name form to slash-separated one resolves
the issue.
> I'm going to attach the corresponding patch to fix the issues and the corresponding tests.

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


View raw message