Philippe, I tried out the following small program:

public class Test {
  public Test() {
    System.out.println("java.lang.Thread.currentThread().getContextClassLoader()...");
    if (java.lang.Thread.currentThread().getContextClassLoader() == null) {
      System.out.println("NULL");
    }
    else {
      System.out.println("OK");
    }
    System.out.println("this.getClass().getClassLoader()...");
    if (this.getClass().getClassLoader() == null) {
      System.out.println("NULL");
    }
    else {
      System.out.println("OK");
    }
    System.exit(0);
  }
  public static void main(String[] args) {
    new Test();
  }
}

The result is on Windows (Sun-JVM) OK for both tests, and in Novell (Novell-JVM) it is 
only OK for
Thread.getContextClassLoader but NULL for getClass().getClassLoader. So you are right 
with your assumption, I think.

I hope that you can provide me some slightly changed JOnAS JAR to try out on Novell.

Thank you
Markus

Reply via email to