harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petrashkova, Vera Y" <vera.y.petrashk...@intel.com>
Subject [drlvm][verifier] Fix of H-2394 is not complete
Date Fri, 06 Jul 2007 08:27:21 GMT
Hello, all

 

I think that the fix of H-2394 [1] is not complete.

 

The original test from this JIRA passes.

 

But if we change TestUninitialized class from this JIRA and add
"try-catch" statement to the "test" method

then VM throws VerifyError.

 

See modified source code of the TestUninitialized class and output:

------------------

.class public TestUninitialized

.super java/lang/Object

 

.method public <init>()V

   aload_0

   invokenonvirtual java/lang/Object/<init>()V

   return

.end method

 

.method public test()V

   .limit stack 2

   .limit locals 3

   .catch java/lang/VerifyError from first to second using catcher   

first:

   new TestUninitialized

   astore 2

second:

   return

catcher:

   return

.end method

---------

Output on Harmony:

 

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 = r551077, (Jun 27 2007), Windows/ia32/msvc 1310, release build

http://harmony.apache.org

TestUninitialized: failed: unexpected error java.lang.VerifyError:
(class: TestUninitialized, method: test()V) Uninitialized reference
usage

 

 

On RI this test passes.

I think that this JIRA should be reopened

 

Thank you,

Vera Petrashkova

 

 

[1] https://issues.apache.org/jira/browse/HARMONY-2394

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message