User: rinkrank
  Date: 02/02/24 16:02:51

  Modified:    javacc   Java1.2-b.jjt
  Log:
  -Implemented (faulty) XJavaDocl.reset() FIXME please somebody who understands 
threads ;-)
  -Log4J/ConfigLog4J settings now have settings for all classes
  -New proxy class test.
  -Privatised XJavaDoc.scan(String) - getXClass(String) should always be used instead.
  
  Revision  Changes    Path
  1.14      +10 -2     xjavadoc/javacc/Java1.2-b.jjt
  
  Index: Java1.2-b.jjt
  ===================================================================
  RCS file: /cvsroot/xdoclet/xjavadoc/javacc/Java1.2-b.jjt,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -w -r1.13 -r1.14
  --- Java1.2-b.jjt     24 Feb 2002 20:44:49 -0000      1.13
  +++ Java1.2-b.jjt     25 Feb 2002 00:02:51 -0000      1.14
  @@ -377,7 +377,9 @@
    */
   
   void CompilationUnit( SourceClass sourceClass ) :
  -{}
  +{
  +   _log.debug("Scanning class header of " + sourceClass.qualifiedName());
  +}
   {
     [ PackageDeclaration(sourceClass) ]
     ( ImportDeclaration(sourceClass) )*
  @@ -505,12 +507,18 @@
                         synchronized(sourceClass.getParseLock()) {
                                 // Tell xjavadoc that we're ready with class level 
parsing
                                 sourceClass.getParseLock().notify();
  +                              _log.debug("Done scanning class header of " + 
sourceClass.qualifiedName());
   
                                 // Wait here until we're woken up. That happens in 
SourceClass.complete()
                                 sourceClass.getParseLock().wait();
  +                              _log.debug("Continuing scanning class body of " + 
sourceClass.qualifiedName());
                         }
                 } catch(InterruptedException e) {
  -                      e.printStackTrace();
  +                     _log.debug("In thread + " + Thread.currentThread().getName() + 
" - The ClassBody() of " + sourceClass.qualifiedName() + " has been interrupted. 
Notifying waiters.");
  +                     synchronized(sourceClass.getParseLock()) {
  +                              sourceClass.getParseLock().notify();
  +                     }
  +                     _log.debug("Notified waiters.");
                 }
         }
   }
  
  
  

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to