harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1434) [drlvm] Misc fixes for kernel classes
Date Tue, 12 Sep 2006 05:25:23 GMT
[drlvm] Misc fixes for kernel classes

                 Key: HARMONY-1434
                 URL: http://issues.apache.org/jira/browse/HARMONY-1434
             Project: Harmony
          Issue Type: Bug
            Reporter: Alexey Varlamov
         Attachments: H-1434.patch

Assorted fixes in kernel classes:

1) Uncommented enum elements of annotations in kernel tests after serialization was fixed
in classlib.

2) Fixed UnsatisfiedLinkError on j.l.Thread.countStackFrames():
This method is strongly deprecated and poorly documented, see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4082398;
so provided dummy implementation and removed declaration of native method j.l.VMThreadManager.countStackFrames().

3) Fixed UnsupportedOperationException on j.l.Compiler methods invocations. The API specification
for this class implies that calls are ignored silently if no compiler available.

4) Fixed incompatibility in j.l.Class.isEnum(). Accordingly to specification, this method
should return true if and only if the class is declared "enum" in source code. However, in
DRLVM it returned true also for anonymous body classes of enum elements.

5) Fixed typo in j.l.ClassLoader which prevents user-defined system classloader.

Several classlib tests were failing due to these issues:
<testcase classname="org.apache.harmony.luni.tests.java.lang.ThreadTest" name="test_countStackFrames"/>
<testcase classname="tests.api.java.util.EnumMapTest" name="test_ConstructorLjava_lang_Class"/>
<testcase classname="tests.api.java.util.EnumSetTest" name="test_NoneOf_LClass"/>
<testcase classname="org.apache.harmony.luni.tests.java.lang.CompilerTest"/>

So no new regression tests needed.

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