private static boolean trustGetContextClassLoader(Thread t){
  Class cl=t.getClass();
  if (cl == Thread.class) {
    return true;
  }
  Boolean b;
synchronized (trustGetCCL) {
    b=(Boolean)trustGetCCL.get(cl);
  }
  if (b == null) {
    b=trustGetContextClassLoader0(cl);
synchronized (trustGetCCL) {
      trustGetCCL.put(cl,b);
    }
  }
  return b.booleanValue();
}

private static boolean trustGetContextClassLoader ( Thread t ) { Class cl = t . getClass ( ) ; if ( cl == Thread . class ) { return true ; } Boolean b ; synchronized ( trustGetCCL ) { b = ( Boolean ) trustGetCCL . get ( cl ) ; } if ( b == null ) { b = trustGetContextClassLoader0 ( cl ) ; synchronized ( trustGetCCL ) { trustGetCCL . put ( cl , b ) ; } } return b . booleanValue ( ) ; }
returns true if the given thread does not override thread . getcontextclassloader ( ) , false otherwise .
