File: 01_build_fixes.diff

package info (click to toggle)
emma-coverage 2.0.5312%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 2,000 kB
  • ctags: 3,667
  • sloc: java: 23,109; xml: 414; makefile: 22
file content (20 lines) | stat: -rw-r--r-- 1,218 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: emma-coverage-2.0.5312+dfsg/core/java12/com/vladium/emma/rt/InstrClassLoader.java
===================================================================
--- emma-coverage-2.0.5312+dfsg.orig/core/java12/com/vladium/emma/rt/InstrClassLoader.java	2009-11-23 17:56:47.000000000 +0530
+++ emma-coverage-2.0.5312+dfsg/core/java12/com/vladium/emma/rt/InstrClassLoader.java	2009-11-23 17:57:11.000000000 +0530
@@ -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.CodeSigner[])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
+// ----------------------------------------------------------------------------