Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
unsafe-mock
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Java Maintainers
unsafe-mock
Commits
3d007490
Commit
3d007490
authored
6 years ago
by
Emmanuel Bourg
Browse files
Options
Downloads
Patches
Plain Diff
Fixed the build failure with Java 11 (Closes: #912273)
parent
6308e7eb
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+1
-0
1 addition, 0 deletions
debian/changelog
debian/patches/01-java11-compatibility.patch
+13
-0
13 additions, 0 deletions
debian/patches/01-java11-compatibility.patch
debian/patches/series
+1
-0
1 addition, 0 deletions
debian/patches/series
with
15 additions
and
0 deletions
debian/changelog
+
1
−
0
View file @
3d007490
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
...
...
This diff is collapsed.
Click to expand it.
debian/patches/01-java11-compatibility.patch
0 → 100644
+
13
−
0
View file @
3d007490
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;
}
This diff is collapsed.
Click to expand it.
debian/patches/series
0 → 100644
+
1
−
0
View file @
3d007490
01-java11-compatibility.patch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment