Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 19634959 authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- fixed new initialization error in log4j ZeroConfSupport

parent d79a85eb
No related branches found
No related tags found
No related merge requests found
...@@ -476,7 +476,7 @@ public class AServProtocolManager { ...@@ -476,7 +476,7 @@ public class AServProtocolManager {
} }
// Erase it from storage // Erase it from storage
try { try {
alignmentCache.eraseAlignment( id ); alignmentCache.eraseAlignment( id, true );
} catch ( Exception ex ) { ex.printStackTrace(); }// ignore } catch ( Exception ex ) { ex.printStackTrace(); }// ignore
// Should be a SuppressedAlignment // Should be a SuppressedAlignment
return new AlignmentId(newId(),mess,myId,mess.getSender(),id,(Properties)null, return new AlignmentId(newId(),mess,myId,mess.getSender(),id,(Properties)null,
...@@ -899,7 +899,9 @@ public class AServProtocolManager { ...@@ -899,7 +899,9 @@ public class AServProtocolManager {
public static boolean implementsInterface( String classname, Class tosubclass, boolean debug ) { public static boolean implementsInterface( String classname, Class tosubclass, boolean debug ) {
try { try {
if ( classname.equals("org.apache.xalan.extensions.ExtensionHandlerGeneral") ) throw new ClassNotFoundException( "Stupid JAVA/Xalan bug" ); if ( classname.equals("org.apache.xalan.extensions.ExtensionHandlerGeneral") ||
classname.equals("org.apache.log4j.net.ZeroConfSupport")
) throw new ClassNotFoundException( "Classes breaking this work" );
// JE: Here there is a bug that is that it is not possible // JE: Here there is a bug that is that it is not possible
// to have ALL interfaces with this function!!! // to have ALL interfaces with this function!!!
// This is really stupid but that's life // This is really stupid but that's life
...@@ -917,9 +919,10 @@ public class AServProtocolManager { ...@@ -917,9 +919,10 @@ public class AServProtocolManager {
if ( debug ) System.err.println(" I> "+interfaces[i] ); if ( debug ) System.err.println(" I> "+interfaces[i] );
} }
// Not one of our classes // Not one of our classes
} catch ( ExceptionInInitializerError eiie ) {
} catch ( NoClassDefFoundError ncdex ) { } catch ( NoClassDefFoundError ncdex ) {
} catch (ClassNotFoundException cnfex) { } catch ( ClassNotFoundException cnfex ) {
} catch (UnsatisfiedLinkError ule) { } catch ( UnsatisfiedLinkError ule ) {
if ( debug ) System.err.println(" ******** "+classname); if ( debug ) System.err.println(" ******** "+classname);
} }
return false; return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment