harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Rebriy (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2281) [drlvm][verifier] Remove assignment compatible check for aastore instruction
Date Tue, 28 Nov 2006 05:57:22 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2281?page=comments#action_12453800 ] 
            
Pavel Rebriy commented on HARMONY-2281:
---------------------------------------

The problem is the Specification for 1.4 and 1.5 are different.

Here is an example on Java 1.5:

$ java -showversion Test
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
BEA WebLogic JRockit(R) (build dra-38972-20041208-2001-win-ia32, R25.0.0-75, GC: System optimized
over throughput (initial strategy singleparpar))
TestAastore: passed: java.lang.ArrayStoreException: Cannot store [Ljava.lang.Object; in [LTestAastore;

The test works as I described: it works on Java 1.5 and it fails on Java 1.4. 

> [drlvm][verifier] Remove assignment compatible check for aastore instruction
> ----------------------------------------------------------------------------
>
>                 Key: HARMONY-2281
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2281
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Pavel Rebriy
>         Assigned To: Gregory Shimansky
>         Attachments: aastore_test.zip, verifier_aastore_fix.patch
>
>
> According Java Specification 1.5 verifier checks what the type of every value stored
into an array by an aastore instruction must a reference type. Verifier doesn't need to check
what the stored value is assignment compatible with the component type of the array.
> The issue removes redundant check from verifier.
> Here is the test to check the issue. To run the test use the following command:
> $ java Test
> The test works on Java 1.5 and it fails on Java 1.4.

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