User: starksm 
  Date: 02/04/09 00:59:01

  Modified:    src/main/org/jboss/test/web/util Tag: Branch_2_4 Util.java
  Log:
  Print the classloader hash code in hex
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.3   +3 -2      jbosstest/src/main/org/jboss/test/web/util/Util.java
  
  Index: Util.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/web/util/Util.java,v
  retrieving revision 1.2.2.2
  retrieving revision 1.2.2.3
  diff -u -r1.2.2.2 -r1.2.2.3
  --- Util.java 10 Oct 2001 22:06:15 -0000      1.2.2.2
  +++ Util.java 9 Apr 2002 07:59:01 -0000       1.2.2.3
  @@ -18,7 +18,7 @@
   lib jars.
   
   @author  [EMAIL PROTECTED]
  -@version $Revision: 1.2.2.2 $
  +@version $Revision: 1.2.2.3 $
   */
   public class Util
   {
  @@ -114,7 +114,8 @@
           int level = 0;
           while( cl != null )
           {
  -            String msg = "Servlet ClassLoader["+level+"]: 
"+cl.getClass().getName()+':'+cl.hashCode();
  +            String hashCode = Integer.toHexString(cl.hashCode());
  +            String msg = "Servlet ClassLoader["+level+"]: 
"+cl.getClass().getName()+'@'+hashCode;
               out.println(msg);
               if( cl instanceof URLClassLoader )
               {
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to