Skip to content
Snippets Groups Projects
Commit 3d007490 authored by Emmanuel Bourg's avatar Emmanuel Bourg
Browse files

Fixed the build failure with Java 11 (Closes: #912273)

parent 6308e7eb
No related branches found
No related tags found
No related merge requests found
unsafe-mock (8.0-3) UNRELEASED; urgency=medium
* Team upload.
* Fixed the build failure with Java 11 (Closes: #912273)
* Standards-Version updated to 4.2.1
* Switch to debhelper level 11
* Use salsa.debian.org Vcs-* URLs
......
Description: Fixes the build failure with Java 11
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/src/main/java/sun/misc/Unsafe.java
+++ b/src/main/java/sun/misc/Unsafe.java
@@ -80,7 +80,6 @@
* access to the system properties.
*/
public static Unsafe getUnsafe() {
- Class<?> cc = sun.reflect.Reflection.getCallerClass(2);
return theUnsafe;
}
01-java11-compatibility.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment