Skip to content
Commits on Source (5)
unsafe-mock (8.0-3) unstable; 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
-- Emmanuel Bourg <ebourg@apache.org> Thu, 29 Nov 2018 12:02:03 +0100
unsafe-mock (8.0-2) unstable; urgency=medium
* Team upload.
......
......@@ -4,13 +4,13 @@ Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Miguel Landaeta <nomadium@debian.org>
Build-Depends:
debhelper (>= 10),
debhelper (>= 11),
default-jdk,
junit,
maven-debian-helper (>= 1.5)
Standards-Version: 4.1.0
Vcs-Git: https://anonscm.debian.org/git/pkg-java/unsafe-mock.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/unsafe-mock.git
Standards-Version: 4.2.1
Vcs-Git: https://salsa.debian.org/java-team/unsafe-mock.git
Vcs-Browser: https://salsa.debian.org/java-team/unsafe-mock
Homepage: https://github.com/headius/unsafe-mock
Package: libunsafe-mock-java
......
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
......@@ -2,6 +2,3 @@
%:
dh $@
get-orig-source:
uscan --download-current-version --force-download --no-symlink