Gus Heck - 2010-01-26

The following patch will fix this problem (cause by http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4983021\)

Index: core/java12/com/vladium/emma/run/InstrClassLoader.java

RCS file: /cvsroot/emma/emma/core/java12/com/vladium/emma/run/InstrClassLoader.java,v
retrieving revision 1.1
diff -u -r1.1 InstrClassLoader.java
--- core/java12/com/vladium/emma/run/InstrClassLoader.java 21 Jun 2005 02:40:32 -0000 1.1
+++ core/java12/com/vladium/emma/run/InstrClassLoader.java 26 Jan 2010 21:58:03 -0000
@@ -343,7 +343,7 @@
// support ProtectionDomains with non-null class source URLs:
// [however, disable anything related to sealing or signing]

- final CodeSource csrc = new CodeSource (srcURL, null);
+ final CodeSource csrc = new CodeSource (srcURL, (java.security.cert.Certificate[])null);

// allow getPackage() to return non-null on the class we are about to
// define (however, don't bother emulating the original manifest info since
@@ -459,4 +459,4 @@
private static final URL [] EMPTY_URL_ARRAY = new URL [0];

} // end of class
-// ----------------------------------------------------------------------------
\ No newline at end of file
+// ----------------------------------------------------------------------------