I took opportunity to update the copyright year and replace tags
<code>...<\code> with {@code ...}, so that this code can be left
untouched for next 21 years :)
Here is the webrev with all the changes:
http://cr.openjdk.java.net/~igerasim/4887513/00/webrev/
With kind regards,
Ivan
On 2/18/19 10:32 PM, Ivan Gerasimov wrote:
Hi Andrey!
The fix looks Okay. I can sponsor pushing the fix for you.
With kind regards,
Ivan
On 2/17/19 4:11 AM, Andrey Turbanov wrote:
Hello.
I would like to contribute a small patch for bug:
https://bugs.openjdk.java.net/browse/JDK-4887513
Index: src/java.rmi/share/classes/java/rmi/server/RMIFailureHandler.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/java.rmi/share/classes/java/rmi/server/RMIFailureHandler.java
(revision 8df4dc07bd6f5545048485493c2edfc5bab53bbb)
+++ src/java.rmi/share/classes/java/rmi/server/RMIFailureHandler.java
(date 1550354580517)
@@ -43,9 +43,8 @@
* The <code>failure</code> callback is invoked when the RMI
* runtime is unable to create a <code>ServerSocket</code> via the
* <code>RMISocketFactory</code>. An
<code>RMIFailureHandler</code>
- * is registered via a call to
- * <code>RMISocketFacotry.setFailureHandler</code>. If no failure
- * handler is installed, the default behavior is to attempt to
+ * is registered via a call to
<code>RMISocketFactory.setFailureHandler</code>.
+ * If no failure handler is installed, the default behavior is to
attempt to
* re-create the ServerSocket.
*
* @param ex the exception that occurred during
<code>ServerSocket</code>
Andrey Turbanov
--
With kind regards,
Ivan Gerasimov