[Sablevm-developer] Bug#235919: Simple class fails to run
Brought to you by:
egagnon
From: Grzegorz B. P. <ga...@de...> - 2004-03-03 07:51:48
|
Package: sablevm Version: 1.1.0-2 Severity: serious I checked pure 1.1.0 built from sources and it seems to work just fine with this test case. The problem is therefore Debian-specific. Ugh... Will take a look at it ASAP, putting that in Debian's BTS for now. GBP PS: It's interesting, that the bigger programs I ran didn't seem to trigger this problem. W li=B6cie z wto, 02-03-2004, godz. 20:16, Laurent Martelli pisze:=20 > Hi, >=20 > I've just found that sablevm version 1.1.0 fails to run this very > simple class: >=20 > public class SableBug { > public static void main(String []args) { > A[] a =3D new A[0]; > } >=20 > public static interface A { > } > } >=20 > It gives the following error: >=20 > laurent@stan:~/tmp$ sablevm SableBug >=20 > SableVM version 1.1.0 > Copyright (C) 2000-2002 Etienne M. Gagnon <eti...@uq...> and > others. All rights reserved. >=20 > This software comes with ABSOLUTELY NO WARRANTY. This is free > software, and you are welcome to redistribute it under certain > conditions. >=20 > To get the name of all copyright holders and detailed license > information, type "sablevm --license" or look in the directory > "/usr/share/sablevm". >=20 > The SableVM web site is located at http://www.sablevm.org/ . >=20 > java.lang.ClassNotFoundException: SableBug$A; > at gnu.java.lang.SystemClassLoader.findClass (SystemClassLoader.java= :79) > at java.lang.ClassLoader.loadClass (ClassLoader.java:327) > at java.lang.ClassLoader.createArray (ClassLoader.java:369) > at java.lang.VirtualMachine.createArray (VirtualMachine.java:102) > at SableBug.main (SableBug.java:3) > at java.lang.VirtualMachine.invokeMain (VirtualMachine.java) > at java.lang.VirtualMachine.main (VirtualMachine.java:88) --=20 Grzegorz B. Prokopski <ga...@de...> Debian GNU/Linux http://www.debian.org SableVM - LGPLed JVM http://www.sablevm.org Why SableVM ?!? http://devel.sablevm.org/wiki/WhySableVM |