harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Afremov (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-1668) [drlvm] tests.api.java.lang.reflect.InvocationTargetExceptionTest fails on interpreter
Date Mon, 09 Oct 2006 11:38:21 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-1668?page=all ]

Pavel Afremov updated HARMONY-1668:
-----------------------------------

    Attachment: Interpreter-and-JIT-mismatch-in-exception-status-assertion.txt

Interpreter and JIT mismatch in exception status assertion.

Java Methods must not be launched in the "exception raised" state. But DRL VM asserts it now
in the interpreter mode only. To fix it assert(!exn_raised()) was added into vm_execute_java_method_array.

> [drlvm] tests.api.java.lang.reflect.InvocationTargetExceptionTest fails on interpreter
> --------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1668
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1668
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: interpreter gcc/debug DRLVM
>            Reporter: Alexey Varlamov
>            Priority: Minor
>         Attachments: H-1668.patch, Interpreter-and-JIT-mismatch-in-exception-status-assertion.txt,
Interpreter-and-JIT-mismatch-in-exception-status-assertion.txt
>
>
> The tests.api.java.lang.reflect.InvocationTargetExceptionTest fails on interpreter:
> java: /nfs/ins/proj/drl/coreapi/avarlamo/harmony/linux.ia32/svn-repo/drlvm/vm/interpreter/src/interpreter.cpp:2531:
void interpreter(StackFrame&): Assertion `!check_current_thread_exception()' failed.
> SIGABRT in VM code.
> ****** STACK DUMP: ************
> java/lang/Integer.<init>(I)V (Integer.java:94)
> java/lang/reflect/VMReflection.invokeMethod(JLjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(NULL:-2)
> java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(NULL:-1)
> tests/api/java/lang/reflect/InvocationTargetExceptionTest.test_ConstructorLjava_lang_Throwable()V
(InvocationTargetExceptionTest.java:128)
> java/lang/reflect/VMReflection.invokeMethod(JLjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(NULL:-2)
> java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(NULL:-1)
> junit/framework/TestCase.runTest()V (TestCase.java:164)
> junit/framework/TestCase.runBare()V (TestCase.java:132)
> junit/framework/TestResult$1.protect()V (TestResult.java:107)
> junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
(TestResult.java:135)
> junit/framework/TestResult.run(Ljunit/framework/TestCase;)V (TestResult.java:112)
> junit/framework/TestCase.run(Ljunit/framework/TestResult;)V (TestCase.java:119)
> junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
(TestSuite.java:209)
> junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V (TestSuite.java:205)
> junit/textui/TestRunner.doRun(Ljunit/framework/Test;Z)Ljunit/framework/TestResult; (TestRunner.java:122)
> junit/textui/TestRunner.start([Ljava/lang/String;)Ljunit/framework/TestResult; (TestRunner.java:175)
> junit/textui/TestRunner.main([Ljava/lang/String;)V (TestRunner.java:146)

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

        

Mime
View raw message