Etienne,
I undid part of your change to Class.getClassLoader().
The isPrimitive() case is required as Class for primitive
type do not have _svmt_type_info and cause segmentation fault when the
pointer is unwrapped.
A simple test case that was causing it:
public class Test {
public static void main(String[] args) {
System.err.println(int.class.getClassLoader());
}
}
David
---
David B=E9langer
Graduate Student
School of Computer Science
McGill University
Office: MC226
Web page: http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt
|