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 Regression on Harmony-r547251
Date Fri, 15 Jun 2007 04:27:07 GMT
Harmony-r547251 crashes on the following synthetic test, but this test finished with expected
java.lang.VerifyError on  Harmony-r546154 and RI.

It is needed jasmin.jar to create class file or use class from attachment.

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

.class public retTest

.super java/lang/Object

;

; standard initializer

.method public <init>()V

   aload_0

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

   return

.end method

;

; test method

.method public test()V

   .limit stack 2

   .limit locals 3            

    jsr S1      

    ret 2 

    return 

S1:           

    astore_1            

    jsr S2

    return  

S2: 

    astore_2

    ret 1

.end method

;

.method public static main([Ljava/lang/String;)V

  .limit stack 2

  .limit locals 1

  invokevirtual testTest/test()V

  return

.end method

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

Output on Harmony r546154:

=======================

Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its l

icensors, as applicable.

java version "1.5.0"

pre-alpha : not complete or compatible

svn = r546154, (Jun 11 2007), Windows/ia32/msvc 1310, release build

http://harmony.apache.org

Uncaught exception in main:

java.lang.VerifyError: (class: retTest, method: test()V) Reached ret not using jsr branches

        at java.lang.ClassLoader.defineClass0(ClassLoader.java)

        at java.lang.ClassLoader.defineClass(ClassLoader.java:437)

        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:70)

        at java.net.URLClassLoader.access$3(URLClassLoader.java:1)

        at java.net.URLClassLoader$URLHandler.createClass(URLClassLoader.java:261)

        at java.net.URLClassLoader$URLFileHandler.findClass(URLClassLoader.java:560)

        at java.net.URLClassLoader.findClassImpl(URLClassLoader.java:1194)

        at java.net.URLClassLoader$4.run(URLClassLoader.java:889)

        at java.net.URLClassLoader$4.run(URLClassLoader.java:1)

        at java.security.AccessController.doPrivilegedImpl(AccessController.java:171)

        at java.security.AccessController.doPrivileged(AccessController.java:64)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:891)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:574)

        at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:962)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:319)

FAILED to invoke JVM.

 

Output on Harmony r547251:

======================

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

http://harmony.apache.org

Windows reported exception: 0xc0000005

Registers:

    EAX: 0x0205aa60, EBX: 0x0013e660, ECX: 0x0205aac0, EDX: 0x00000000

    ESI: 0x00000003, EDI: 0x0000020b, ESP: 0x0013e3a8, EBP: 0x0013e538

    EIP: 0x0059a955

Stack trace:

  0: jthread_throw_exception (??:-1)

  1: java/lang/ClassLoader.defineClass0(Ljava/lang/String;[BII)Ljava/lang/Class; (ClassLoa

der.java:-2)

  2: java/lang/ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDoma

in;)Ljava/lang/Class; (ClassLoader.java:438)

  3: java/security/SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/Code

Source;)Ljava/lang/Class; (SecureClassLoader.java:70)

  4: java/net/URLClassLoader.access$3(Ljava/net/URLClassLoader;Ljava/lang/String;[BIILjava

/security/CodeSource;)Ljava/lang/Class; (URLClassLoader.java:1)

  5: java/net/URLClassLoader$URLHandler.createClass(Ljava/io/InputStream;Ljava/lang/String

;Ljava/lang/String;)Ljava/lang/Class; (URLClassLoader.java:261)

  6: java/net/URLClassLoader$URLFileHandler.findClass(Ljava/lang/String;Ljava/lang/String;

Ljava/lang/String;)Ljava/lang/Class; (URLClassLoader.java:560)

  7: java/net/URLClassLoader.findClassImpl(Ljava/lang/String;)Ljava/lang/Class; (URLClassL

oader.java:1194)

  8: java/net/URLClassLoader$4.run()Ljava/lang/Class; (URLClassLoader.java:889)

  9: java/net/URLClassLoader$4.run()Ljava/lang/Object; (URLClassLoader.java:1)

 10: java/security/AccessController.doPrivilegedImpl(Ljava/security/PrivilegedAction;Ljava

/security/AccessControlContext;)Ljava/lang/Object; (AccessController.java:171)

 11: java/security/AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/sec

urity/AccessControlContext;)Ljava/lang/Object; (AccessController.java:64)

 12: java/net/URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class; (URLClassLoade

r.java:891)

 13: java/lang/ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class; (ClassLoader.ja

va:575)

 14: java/lang/ClassLoader$SystemClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Clas

s; (ClassLoader.java:963)

 15: java/lang/ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class; (ClassLoader.jav

a:319)

<end of stack trace>

 

 

Thank you,

Vera Petrashkova

 

 


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