diff options
Diffstat (limited to 'dev-java/emma/files/emma-2.0.5312-java15api.patch')
-rw-r--r-- | dev-java/emma/files/emma-2.0.5312-java15api.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-java/emma/files/emma-2.0.5312-java15api.patch b/dev-java/emma/files/emma-2.0.5312-java15api.patch new file mode 100644 index 000000000000..e7a28ba2883f --- /dev/null +++ b/dev-java/emma/files/emma-2.0.5312-java15api.patch @@ -0,0 +1,13 @@ +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
|