8214563: Use {@systemProperty} in specification of system properties in java.nio packages

8214565: Use {@systemProperty} for definitions of system properties

Reviewed-by: alanb, rriggs
This commit is contained in:
Deepak Kejriwal 2019-05-23 12:36:54 +05:30
parent 2e04779cef
commit 9a193f38a3
6 changed files with 23 additions and 19 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2007, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -138,10 +138,10 @@ public abstract class AsynchronousChannelProvider {
* <ol>
*
* <li><p> If the system property
* {@code java.nio.channels.spi.AsynchronousChannelProvider} is defined
* then it is taken to be the fully-qualified name of a concrete provider class.
* The class is loaded and instantiated; if this process fails then an
* unspecified error is thrown. </p></li>
* {@systemProperty java.nio.channels.spi.AsynchronousChannelProvider} is
* defined then it is taken to be the fully-qualified name of a concrete
* provider class. The class is loaded and instantiated; if this process
* fails then an unspecified error is thrown. </p></li>
*
* <li><p> If a provider class has been installed in a jar file that is
* visible to the system class loader, and that jar file contains a

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -143,10 +143,10 @@ public abstract class SelectorProvider {
* <ol>
*
* <li><p> If the system property
* {@code java.nio.channels.spi.SelectorProvider} is defined then it is
* taken to be the fully-qualified name of a concrete provider class.
* The class is loaded and instantiated; if this process fails then an
* unspecified error is thrown. </p></li>
* {@systemProperty java.nio.channels.spi.SelectorProvider} is defined
* then it is taken to be the fully-qualified name of a concrete provider
* class. The class is loaded and instantiated; if this process fails then
* an unspecified error is thrown. </p></li>
*
* <li><p> If a provider class has been installed in a jar file that is
* visible to the system class loader, and that jar file contains a