You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Svetlana Samoilenko (JIRA)" <ji...@apache.org> on 2006/10/14 04:50:12 UTC

[jira] Commented: (HARMONY-428) [classlib] java.lang.reflect.Proxy.newProxyInstance(ClassLoader,Class[], InvocationHandler) throws unspesified java.lang.ClassFormatError

    [ http://issues.apache.org/jira/browse/HARMONY-428?page=comments#action_12442206 ] 
            
Svetlana Samoilenko commented on HARMONY-428:
---------------------------------------------


   [[ Old comment, sent by email on Fri, 25 Aug 2006 07:28:48 +0400 ]]

No objections. Bug might be closed.

Regards,
Svetlana



> [classlib] java.lang.reflect.Proxy.newProxyInstance(ClassLoader,Class[], InvocationHandler) throws unspesified java.lang.ClassFormatError
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-428
>                 URL: http://issues.apache.org/jira/browse/HARMONY-428
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Svetlana Samoilenko
>            Priority: Minor
>         Attachments: ProxyTest.java
>
>
> The test shows that Proxy.newProxyInstance(ClassLoader loader,Class[] interfaces, InvocationHandler h) throws unspesified java.lang.ClassFormatError while on BEA 1.5 it passes. Error is in the native method defineClassImpl.
>  
> Output on BEA 1.5:
> .
> Time: 0,109
> OK (1 test)
>  
> Output on Harmony:
> .E
> There was 1 error:
> 1) test_newProxyInstance_ClassLoader_Class_InvocationHandler(ProxyTest)java.lang.ClassFormatError: (/$Proxy0) class name is invalid at offset=0
>         at java.lang.reflect.Proxy.defineClassImpl(Native Method)
>         at java.lang.reflect.Proxy.getProxyClass(Proxy.java:112)
>         at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:150)
>         at ProxyTest.test_newProxyInstance_ClassLoader_Class_InvocationHandler(ProxyTest.java:9)
>         at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:205)
> FAILURES!!!
> Tests run: 1,  Failures: 0,  Errors: 1 

-- 
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