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

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

    [ http://issues.apache.org/jira/browse/HARMONY-428?page=comments#action_12458513 ] 
            
Mikhail Markov commented on HARMONY-428:
----------------------------------------

Not sure, but it looks like similar problem with HARMONY-875 (also ClassFormatError)

> [classlib] [ibm vme] 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
>         Assigned To: Tim Ellison
>            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