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] Commented: (HARMONY-1561) [DRLVM][interpreter] Wrong access checks in Opcode_PUTFIELD
Date Mon, 25 Sep 2006 05:26:52 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1561?page=comments#action_12437456 ] 
            
Alexey Varlamov commented on HARMONY-1561:
------------------------------------------

It is curious, the negative test revealed another bug: debug DRLVM fails on assertion instead
of throwing error:

L:\win32\svn-repo\drlvm\build\deploy\jre\bin>java -showversion -Dvm.assert_dialog=0 TestPutFinalNegative
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors,
as applicable.
java version "1.5.0"
pre-alpha : not complete or compatible
svn = r448887, (Sep 22 2006), Windows/ia32/msvc 1310, debug build
http://incubator.apache.org/harmony
TestPutFinalNegative@114e4780
aaa
Assertion failed: hythread_is_suspend_enabled(), file L:\win32\svn-repo\drlvm\vm\vmcore\src\class_support\classloader.cpp,
line 381

> [DRLVM][interpreter] Wrong access checks in Opcode_PUTFIELD
> -----------------------------------------------------------
>
>                 Key: HARMONY-1561
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1561
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: All
>            Reporter: Ivan Volosyuk
>         Attachments: putfield.patch, TestPutFinal.j, TestPutFinalNegative.j
>
>
> Interpreter throws IllegalAccessError on putfield opcode for all methods except <init>.
> It should not throw the error if the <init> method for this object is in the calling
stack.
> Reproducible on activemq-4.0.2.

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