harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasily Zakharov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5181) [ibm vme] Annotated class can't be loaded
Date Sat, 24 Nov 2007 02:29:42 GMT
[ibm vme] Annotated class can't be loaded

                 Key: HARMONY-5181
                 URL: https://issues.apache.org/jira/browse/HARMONY-5181
             Project: Harmony
          Issue Type: Bug
          Components: VM
            Reporter: Vasily Zakharov
            Priority: Critical

Consider the following simple test:

import java.lang.annotation.*;
public class Test {
    public static void main(String[] args) {
        try {
        } catch (Exception e) {

@interface Ann {}

@Ann class Foo {}

Output on RI:


Output on DRLVM:


Output on IBM VME:

Exception in thread "main" java.lang.ClassFormatError: (/$Proxy0) class name is invalid at
        at java.lang.reflect.Proxy.defineClassImpl(Native Method)
        at java.lang.reflect.Proxy.getProxyClass(Proxy.java:157)
        at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:21)
        at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:34)
        at com.ibm.oti.reflect.AnnotationHelper.getDeclaredAnnotations(AnnotationHelper.java:50)
        at java.lang.Class.getDeclaredAnnotations(Class.java:1458)
        at Test.main(Test.java:6)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message