https://issues.apache.org/bugzilla/show_bug.cgi?id=48903
--- Comment #3 from Konstantin Kolinko <knst.koli...@gmail.com> 2010-03-14 00:31:00 UTC --- Created an attachment (id=25125) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25125) MyClassLoader.java - sample of reflectively calling JDK7 API I just tested that the JDK7 ClassLoader methods that I mentioned in comment 2 can be reflectively called by a class compiled with JDK 6. I was afraid that registerAsParallelCapable() will not work when called through reflection. I am attaching a sample ClassLoader implementation that calls those methods. On success it prints something like this: Result: true Lock: java.lang.obj...@1befab0 where the lock is not the classloader, but some other object. I tested that it runs successfully with JDK7 early access milestone 5 (jre-7-ea-bin-b76-windows-i586-12_nov_2009). -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org