system/src/sc/layer/LayeredSystem.java
public void refreshClassCache() {
      if (otherClassCache == null)
         return;
      Iterator<Map.Entry<String,Object>> otherIt = otherClassCache.entrySet().iterator();
      while (otherIt.hasNext()) {
         Map.Entry<String,Object> otherEnt = otherIt.next();
         Object val = otherEnt.getValue();
         if (val == NullClassSentinel.class)
            otherIt.remove();
         else if (val instanceof CFClass) {
            if (((CFClass) val).fileChanged()) {
               otherIt.remove();
               if (options.verbose)
                  verbose("Removing changed class from class cache: " + val);
            }
         }
      }
   }
/**
    * For CFClasses and cached null references we can quickly refresh the contents.  Not currently trying to refresh
    * java.lang.Class instances in the compiledClassCache since those are synchronized with the class loader and so cannot
    * be as easily refreshed
    */
For CFClasses and cached null references we can quickly refresh the contents.  Not currently trying to refresh
java.lang.Class instances in the compiledClassCache since those are synchronized with the class loader and so cannot
be as easily refreshed
For CFClasses and cached null references we can quickly refresh the contents . Not currently trying to refresh java . lang . Class instances in the compiledClassCache since those are synchronized with the class loader and so cannot be as easily refreshed
public void refreshClassCache() {
      if (otherClassCache == null)
         return;
      Iterator<Map.Entry<String,Object>> otherIt = otherClassCache.entrySet().iterator();
      while (otherIt.hasNext()) {
         Map.Entry<String,Object> otherEnt = otherIt.next();
         Object val = otherEnt.getValue();
         if (val == NullClassSentinel.class)
            otherIt.remove();
         else if (val instanceof CFClass) {
            if (((CFClass) val).fileChanged()) {
               otherIt.remove();
               if (options.verbose)
                  verbose("Removing changed class from class cache: " + val);
            }
         }
      }
   }
public void refreshClassCache ( ) { if ( otherClassCache == null ) return ; Iterator < Map . Entry < String , Object > > otherIt = otherClassCache . entrySet ( ) . iterator ( ) ; while ( otherIt . hasNext ( ) ) { Map . Entry < String , Object > otherEnt = otherIt . next ( ) ; Object val = otherEnt . getValue ( ) ; if ( val == NullClassSentinel . class ) otherIt . remove ( ) ; else if ( val instanceof CFClass ) { if ( ( ( CFClass ) val ) . fileChanged ( ) ) { otherIt . remove ( ) ; if ( options . verbose ) verbose ( "Removing changed class from class cache: " + val ) ; } } } }
For CFClasses and cached null references we can quickly refresh the contents.
For CFClasses and cached null references we can quickly refresh the contents .