You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-java/emma/files/emma-2.0.5312-java15api.patch

14 lines
841 B

diff --git a/core/java12/com/vladium/emma/rt/InstrClassLoader.java b/core/java12/com/vladium/emma/rt/InstrClassLoader.java
index 4ea4f80..2c14287 100644
--- a/core/java12/com/vladium/emma/rt/InstrClassLoader.java
+++ b/core/java12/com/vladium/emma/rt/InstrClassLoader.java
@@ -343,7 +343,7 @@ final class InstrClassLoader extends URLClassLoader
// 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