[Bug 117] New: ArrayIndexOutOfBoundsException in SecurityManager.currentLoadedClass

[email protected] Tue, 22 Mar 2005 12:31:04 -0500
Newsgroups gmane.comp.java.vm.sablevm.bugs
Message-ID <[email protected]>
http://sablevm.org/bugs/show_bug.cgi?id=117

           Summary: ArrayIndexOutOfBoundsException in
                    SecurityManager.currentLoadedClass
           Product: SableVM
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]


Running the attached testcase with sablevm fails:

$ java-sablevm  -classpath testsuite-temp-folder/ testcase1.fun
WARNING: could not properly read security provider files:
        
file:///usr/lib/sablevm-classpath/sablevm-classpath/security/SableVM.security
        
file:///usr/lib/sablevm-classpath/sablevm-classpath/security/classpath.security
         Falling back to standard GNU security provider
java.lang.ArrayIndexOutOfBoundsException
   at java.lang.SecurityManager.currentLoadedClass (SecurityManager.java:233)
   at java.lang.SecurityManager.currentClassLoader (SecurityManager.java:209)
   at java.io.ObjectInputStream.currentClassLoader (ObjectInputStream.java)
   at java.io.ObjectInputStream.currentLoader (ObjectInputStream.java:799)
   at java.io.ObjectInputStream.readClassDescriptor (ObjectInputStream.java:505)
  at java.io.ObjectInputStream.readObject (ObjectInputStream.java:228)
   at java.io.ObjectInputStream.readObject (ObjectInputStream.java:275)
   at testcase1.fun.main (Unknown Source:7)
   at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
   at java.lang.VirtualMachine.main (VirtualMachine.java:108)


Sun's JVM runs that testcase. Kaffe and gij run into an assertion failed, which
is due to a known bug in classpath, so consider the bug fixed if you get that far.

SableVM version 1.11.1
- compile date and time: 2005-03-21 03:56:38 UTC
- gcc version: 3.3.5 (Debian 1:3.3.5-12)
- 'real life brokenness' features enabled
- signal based exception detection
- copying garbage collection
- bidirectional object layout
- inline-threaded interpreter



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.