diff options
| author | Mandy Chung <mchung@openjdk.org> | 2017-11-06 17:48:00 -0800 |
|---|---|---|
| committer | Mandy Chung <mchung@openjdk.org> | 2017-11-06 17:48:00 -0800 |
| commit | 25032bad54b64b6ed688e488afbe46089a885571 (patch) | |
| tree | a297818d487aeb4017b8179d9672a8603b14be3b /src/java.base/share/classes/java/lang/System.java | |
| parent | 46d230c9cc6acef12c8cc99a2e8efb57fb79673a (diff) | |
| download | openjdk-25032bad54b64b6ed688e488afbe46089a885571.tar.gz openjdk-25032bad54b64b6ed688e488afbe46089a885571.zip | |
8164512: Replace ClassLoader use of finalizer with phantom reference to unload native library
Reviewed-by: alanb, bchristi, kbarrett, dholmes, plevart
Diffstat (limited to 'src/java.base/share/classes/java/lang/System.java')
| -rw-r--r-- | src/java.base/share/classes/java/lang/System.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/java.base/share/classes/java/lang/System.java b/src/java.base/share/classes/java/lang/System.java index 86ec3c5cad3..d2a8f71b86c 100644 --- a/src/java.base/share/classes/java/lang/System.java +++ b/src/java.base/share/classes/java/lang/System.java @@ -1799,7 +1799,8 @@ public final class System { * is invoked rather than attempting to load a dynamic library. * A filename matching the argument does not have to exist in the * file system. - * See the JNI Specification for more details. + * See the <a href="{@docRoot}/../specs/jni/index.html"> JNI Specification</a> + * for more details. * * Otherwise, the filename argument is mapped to a native library image in * an implementation-dependent manner. @@ -1835,7 +1836,8 @@ public final class System { * specific prefix, file extension or path. If a native library * called <code>libname</code> is statically linked with the VM, then the * JNI_OnLoad_<code>libname</code> function exported by the library is invoked. - * See the JNI Specification for more details. + * See the <a href="{@docRoot}/../specs/jni/index.html"> JNI Specification</a> + * for more details. * * Otherwise, the libname argument is loaded from a system library * location and mapped to a native library image in an implementation- |
