Hi Thomas. If I have a jar file A.jar that contains this single class:
public class A implements EventListenerInitializer { public void initializeEventListeners(SVGDocument doc) { System.out.println("A.initializeEventListeners"); } } and another, B.jar, that contains another class: public class B implements EventListenerInitializer { public void initializeEventListeners(SVGDocument doc) { System.out.println("B.initializeEventListeners"); try { Class.forName("A"); } catch (Exception ex) { ex.printStackTrace(); } System.out.println("done"); } } and then reference these from an SVG file: <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <script xlink:href="A.jar" type="application/java-archive"/> <script xlink:href="B.jar" type="application/java-archive"/> </svg> I find that B cannot find the A class (in the Class.forName call). Is this intended? When two ECMAScript scripts are referenced, the scripts can see each other, by virtue of them both running on the same global object, so I don't know that it would be bad, security-wise, to allow B to create an A object in this manner. What do you think? Thanks, Cameron -- Cameron McCormack ICQ: 26955922 cam (at) mcc.id.au MSN: cam (at) mcc.id.au http://mcc.id.au/ JBR: heycam (at) jabber.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]