0 Replies Latest reply on Dec 14, 2004 10:35 AM by sstair

    Classloader

    sstair

      I just finished an Advanced Jboss training class last week, and during a disccussion on classloaders, the following idea occurred to me.

      When the classloader encounters a Java class which has already been loaded, it just ignores it. This can cause problems when there is more than one version of a class among diferent archives.

      Why not have

      • a warning, optional if neccessary, that would warn the developer that the same class occurred in multiple archives
      • a warning if the duplicate class is not indentical to the previously encountered occurence