User: juhalindfors
  Date: 02/03/14 10:14:45

  Modified:    src/main/test/compliance/loading MLetTEST.java
  Log:
  
  
  Revision  Changes    Path
  1.5       +11 -0     jmx/src/main/test/compliance/loading/MLetTEST.java
  
  Index: MLetTEST.java
  ===================================================================
  RCS file: /cvsroot/jboss/jmx/src/main/test/compliance/loading/MLetTEST.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- MLetTEST.java     13 Mar 2002 14:44:53 -0000      1.4
  +++ MLetTEST.java     14 Mar 2002 18:14:45 -0000      1.5
  @@ -57,6 +57,17 @@
         {
            // expected
         }
  +      // make sure the classes are loaded from mlet, not system cl
  +      try
  +      {
  +         
DefaultLoaderRepository.loadClass("test.compliance.loading.support.Trivial2");
  +         
  +         fail("class test.compliance.loading.support.Trivial2 was already found in 
CL repository.");
  +      }
  +      catch (ClassNotFoundException e)
  +      {
  +         // expected
  +      }
         
         MBeanServer server = MBeanServerFactory.createMBeanServer();
         MLet mlet = new MLet();
  
  
  

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

Reply via email to