RFR: XS,docs JDK-8225627 man pages point to old API

Jonathan Gibbons jonathan.gibbons at oracle.com
Tue Jun 11 23:06:57 UTC 2019


Please review a minor change to 3 man pages, updating links to API 
elements to point to the API for the current version of those elements.

No semantic change.  Note that the links are also updaed to the current 
form used in HTML 5.

JBS: https://bugs.openjdk.java.net/browse/JDK-8225627
Webrev: http://scaaa042.us.oracle.com/w/jjg/work/webrevs/8225627/webrev.00/

-- Jon


Patch also inline here, but the lines are long and may get wrapped:

--- old/closed/src/jdk.compiler/share/man/javac.md 2019-06-11 
15:56:29.299968194 -0700
+++ new/closed/src/jdk.compiler/share/man/javac.md 2019-06-11 
15:56:29.103968201 -0700
@@ -250,7 +250,7 @@
      When you specify this option, a native header file is generated 
for each
      class that contains native methods or that has one or more constants
      annotated with the [`java.lang.annotation.Native`](
- 
https://docs.oracle.com/javase/10/docs/api/java/lang/annotation/Native.html)
+ ../../api/java.base/java/lang/annotation/Native.html)
      annotation. If the class is part of a package, then the compiler 
puts the
      native header file in a subdirectory that reflects the package 
name and
      creates directories as needed.
--- old/closed/src/jdk.jlink/share/man/jlink.md 2019-06-11 
15:56:29.831968176 -0700
+++ new/closed/src/jdk.jlink/share/man/jlink.md 2019-06-11 
15:56:29.675968181 -0700
@@ -269,7 +269,7 @@
  The following command is similar to the one that creates a runtime 
image named
  `greetingsapp`, except that it will link the modules resolved from 
root modules
  with service binding; see the [`Configuration.resolveAndBind`](
-https://docs.oracle.com/javase/10/docs/api/java/lang/module/Configuration.html#resolveAndBind-java.lang.module.ModuleFinder-java.util.List-java.lang.module.ModuleFinder-java.util.Collection-)
+../../api/java.base/java/lang/module/Configuration.html#resolveAndBind(java.lang.module.ModuleFinder,java.util.List,java.lang.module.ModuleFinder,java.util.Collection))
  method.

  ```
--- old/closed/src/jdk.jlink/share/man/jmod.md 2019-06-11 
15:56:30.371968157 -0700
+++ new/closed/src/jdk.jlink/share/man/jmod.md 2019-06-11 
15:56:30.171968164 -0700
@@ -105,9 +105,9 @@
      -   `regex:`*regex-pattern*

      See the [`FileSystem.getPathMatcher`](
- 
https://docs.oracle.com/javase/10/docs/api/java/nio/file/FileSystem.html#getPathMatcher-java.lang.String-)
+ 
../../api/java.base/java/nio/file/FileSystem.html#getPathMatcher(java.lang.String))
      method for the syntax of *glob-pattern*. See the [`Pattern`](
- https://docs.oracle.com/javase/10/docs/api/java/util/regex/Pattern.html)
+    ../../api/java.base/java/util/regex/Pattern.html)
      class for the syntax of *regex-pattern*, which represents a regular
      expression.



More information about the core-libs-dev mailing list