[Sablevm-developer] Simple class fails to run
Brought to you by:
egagnon
From: Laurent M. <la...@ao...> - 2004-03-03 01:44:32
|
Hi, I've just found that sablevm version 1.1.0 fails to run this very simple class: public class SableBug { public static void main(String []args) { A[] a = new A[0]; } public static interface A { } } It gives the following error: laurent@stan:~/tmp$ sablevm SableBug SableVM version 1.1.0 Copyright (C) 2000-2002 Etienne M. Gagnon <eti...@uq...> and others. All rights reserved. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. To get the name of all copyright holders and detailed license information, type "sablevm --license" or look in the directory "/usr/share/sablevm". The SableVM web site is located at http://www.sablevm.org/ . 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) -- Laurent Martelli la...@ao... Java Aspect Components http://www.aopsys.com/ http://jac.aopsys.com |