* To simplify the task of setting up the environment
@@ -184,7 +184,7 @@ import java.util.Hashtable;
* {@code jndiprovider.properties}.
*
*
diff --git a/jdk/src/java.naming/share/classes/javax/naming/InitialContext.java b/jdk/src/java.naming/share/classes/javax/naming/InitialContext.java
index 0fce1c94758..0e2d35d9e53 100644
--- a/jdk/src/java.naming/share/classes/javax/naming/InitialContext.java
+++ b/jdk/src/java.naming/share/classes/javax/naming/InitialContext.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2017, 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
@@ -36,7 +36,7 @@ import com.sun.naming.internal.ResourceManager;
* The initial context implements the Context interface and
* provides the starting point for resolution of names.
*
- *
+ *
* When the initial context is constructed, its environment
* is initialized with properties defined in the environment parameter
* passed to the constructor, and in any
diff --git a/jdk/src/java.naming/share/classes/javax/naming/directory/package.html b/jdk/src/java.naming/share/classes/javax/naming/directory/package.html
index c1f1860e5cf..eb363d71a39 100644
--- a/jdk/src/java.naming/share/classes/javax/naming/directory/package.html
+++ b/jdk/src/java.naming/share/classes/javax/naming/directory/package.html
@@ -45,7 +45,7 @@ This package allows applications to retrieve and update attributes
associated with objects stored in a directory, and to search for
objects using specified attributes.
-
The Directory Context
+The Directory Context
The DirContext
interface represents a directory context.
diff --git a/jdk/src/java.naming/share/classes/javax/naming/event/package.html b/jdk/src/java.naming/share/classes/javax/naming/event/package.html
index f63baf85dd8..e70ca97a03c 100644
--- a/jdk/src/java.naming/share/classes/javax/naming/event/package.html
+++ b/jdk/src/java.naming/share/classes/javax/naming/event/package.html
@@ -40,7 +40,7 @@ independent of any specific naming or directory service
implementation. Thus a variety of services--new, emerging, and
already deployed ones--can be accessed in a common way.
-Naming Events
+Naming Events
This package defines a NamingEvent class to represent an event
that is generated by a naming/directory service.
@@ -78,7 +78,7 @@ class ChangeHandler implements ObjectChangeListener {
-
+
Threading Issues
When an event is dispatched to a listener, the listener method (such
diff --git a/jdk/src/java.naming/share/classes/javax/naming/ldap/package.html b/jdk/src/java.naming/share/classes/javax/naming/ldap/package.html
index f6bf021b5f2..8af8ce7b988 100644
--- a/jdk/src/java.naming/share/classes/javax/naming/ldap/package.html
+++ b/jdk/src/java.naming/share/classes/javax/naming/ldap/package.html
@@ -48,7 +48,7 @@ The core interface in this package is LdapContext, which defines
methods on a context for performing extended operations and handling
controls.
-Extended Operations
+Extended Operations
This package defines the interface ExtendedRequest
to represent the argument to an extended operation,
@@ -125,7 +125,7 @@ public class GetTimeResponse() implements ExtendedResponse {
}
-
Controls
+Controls
This package defines the interface Control to represent an LDAPv3
control. It can be a control that is sent to an LDAP server
@@ -203,7 +203,7 @@ Context ctx = ectx.createSubsubcontext("cn=newobj");
Control[] respCtls = ectx.getResponseControls();
if (respCtls != null) {
// Find the one we want
- for (int i = 0; i < respCtls; i++) {
+ for (int i = 0; i < respCtls; i++) {
if(respCtls[i] instanceof ChangeIDControl) {
ChangeIDControl cctl = (ChangeIDControl)respCtls[i];
System.out.println(cctl.getChangeID());
diff --git a/jdk/src/java.naming/share/classes/javax/naming/package.html b/jdk/src/java.naming/share/classes/javax/naming/package.html
index 2f5d919e41c..224e0cbddf7 100644
--- a/jdk/src/java.naming/share/classes/javax/naming/package.html
+++ b/jdk/src/java.naming/share/classes/javax/naming/package.html
@@ -40,7 +40,7 @@ implementation. Thus a variety of services--new, emerging, and
already deployed ones--can be accessed in a common way.
-Context
+Context
This package defines the notion of a context, represented
by the Context interface.
@@ -63,7 +63,7 @@ printer.print(report);
-
Names
+Names
Every naming method in the Context
interface has two
@@ -82,7 +82,7 @@ The overloads that accept string names are likely to be more useful
for simple applications, such as those that simply read in a name
and look up the corresponding object.
-
Bindings
+Bindings
The Binding class represents a name-to-object binding.
It is a tuple containing the name of the bound object,
@@ -95,7 +95,7 @@ The NameClassPair is useful when you only want
information about the object's class and do not want to
pay the extra cost of getting the object.
-References
+References
Objects are stored in naming and directory services in different ways.
If an object store supports storing Java objects,
it might support storing an object in its serialized form.
@@ -112,7 +112,7 @@ JNDI clients have the illusion that what
is stored in the directory are Java objects.
-The Initial Context
+The Initial Context
In JNDI, all naming and directory operations are performed relative
to a context. There are no absolute roots.
@@ -122,7 +122,7 @@ which provides a starting point for naming and directory operations.
Once you have an initial context, you can use it to
look up other contexts and objects.
-Exceptions
+Exceptions
JNDI defines a class hierarchy for exceptions that can be thrown in
the course of performing naming and directory operations. The root of
diff --git a/jdk/src/java.naming/share/classes/javax/naming/spi/ObjectFactory.java b/jdk/src/java.naming/share/classes/javax/naming/spi/ObjectFactory.java
index c78f5d332c8..e18e73096bc 100644
--- a/jdk/src/java.naming/share/classes/javax/naming/spi/ObjectFactory.java
+++ b/jdk/src/java.naming/share/classes/javax/naming/spi/ObjectFactory.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2004, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2017, 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
@@ -136,7 +136,7 @@ public interface ObjectFactory {
*
*
* Name and Context Parameters.
- *
+ *
*
* The {@code name} and {@code nameCtx} parameters may
* optionally be used to specify the name of the object being created.
diff --git a/jdk/src/java.naming/share/classes/javax/naming/spi/package.html b/jdk/src/java.naming/share/classes/javax/naming/spi/package.html
index 84075e07956..6d7dd578c2a 100644
--- a/jdk/src/java.naming/share/classes/javax/naming/spi/package.html
+++ b/jdk/src/java.naming/share/classes/javax/naming/spi/package.html
@@ -47,7 +47,7 @@ through which JNDI applications access different naming and
directory services.
-
Plug-in Architecture
+Plug-in Architecture
The service provider package allows different implementations to be plugged in
dynamically.
@@ -56,7 +56,7 @@ These different implementations include those for the
and implementations for contexts that can be reached
from the initial context.
-Java Object Support
+Java Object Support
The service provider package provides support
for implementors of the
@@ -68,7 +68,7 @@ it is natural for you to expect to get
back a printer object on which to operate.
-Multiple Naming Systems (Federation)
+Multiple Naming Systems (Federation)
JNDI operations allow applications to supply names that span multiple
naming systems. So in the process of completing
diff --git a/jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpServer.java b/jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpServer.java
index 30ad5cec7f2..e2fe8b24ac2 100644
--- a/jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpServer.java
+++ b/jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpServer.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, 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
@@ -51,7 +51,7 @@ import com.sun.net.httpserver.spi.HttpServerProvider;
* {@link java.util.concurrent.Executor} object. If none is provided a default
* implementation is used.
*
- *
+ *
* Mapping request URIs to HttpContext paths
* When a HTTP request is received,
* the appropriate HttpContext (and handler) is located by finding the context
@@ -59,7 +59,7 @@ import com.sun.net.httpserver.spi.HttpServerProvider;
* Paths are matched literally, which means that the strings are compared
* case sensitively, and with no conversion to or from any encoded forms.
* For example. Given a HttpServer with the following HttpContexts configured.
- *
+ * description
* | Context | Context path |
* | ctx1 | "/" |
* | ctx2 | "/apps/" |
@@ -68,7 +68,7 @@ import com.sun.net.httpserver.spi.HttpServerProvider;
*
* the following table shows some request URIs and which, if any context they would
* match with.
- *
+ * description
* | Request URI | Matches context |
* | "http://foo.com/apps/foo/bar" | ctx3 |
* | "http://foo.com/apps/Foo/bar" | no match, wrong case |
diff --git a/jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpsConfigurator.java b/jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpsConfigurator.java
index 6c4ddae65ad..dbd46a5ac5b 100644
--- a/jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpsConfigurator.java
+++ b/jdk/src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpsConfigurator.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2017, 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
@@ -41,7 +41,7 @@ import javax.net.ssl.*;
* the {@link #configure(HttpsParameters)} method in order to change
* the default configuration.
*
- * The following example shows how this may be done:
+ * The following example shows how this may be done:
*
*
* SSLContext sslContext = SSLContext.getInstance (....);
diff --git a/jdk/src/jdk.net/share/classes/jdk/net/NetworkPermission.java b/jdk/src/jdk.net/share/classes/jdk/net/NetworkPermission.java
index 285f305652f..a3acc63da56 100644
--- a/jdk/src/jdk.net/share/classes/jdk/net/NetworkPermission.java
+++ b/jdk/src/jdk.net/share/classes/jdk/net/NetworkPermission.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2017, 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
@@ -34,8 +34,8 @@ import java.security.BasicPermission;
*
* The following targets are defined:
*
- *
+ * permission target name,
+ * what the target allows,and associated risks
*
* | Permission Target Name |
* What the Permission Allows |
diff --git a/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpChannel.java b/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpChannel.java
index c70433277a8..53647e0a10e 100644
--- a/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpChannel.java
+++ b/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpChannel.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2017, 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
@@ -59,7 +59,7 @@ import java.nio.channels.SelectionKey;
* {@link #setOption(SctpSocketOption,Object) setOption} method. An SCTP
* channel support the following options:
*
- *
+ * Socket options
*
* | Option Name |
* Description |
diff --git a/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpMultiChannel.java b/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpMultiChannel.java
index 529414389e1..cb498c9017d 100644
--- a/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpMultiChannel.java
+++ b/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpMultiChannel.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2017, 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
@@ -63,7 +63,7 @@ import java.nio.channels.SelectionKey;
* {@link #setOption(SctpSocketOption,Object,Association) setOption} method. An
* {@code SctpMultiChannel} supports the following options:
*
- *
+ * Socket options
*
* | Option Name |
* Description |
diff --git a/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpServerChannel.java b/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpServerChannel.java
index 4a2ced93462..cf56fd16c9f 100644
--- a/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpServerChannel.java
+++ b/jdk/src/jdk.sctp/share/classes/com/sun/nio/sctp/SctpServerChannel.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2017, 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
@@ -47,7 +47,7 @@ import java.nio.channels.spi.AbstractSelectableChannel;
* {@link #setOption(SctpSocketOption,Object) setOption} method. SCTP server socket
* channels support the following options:
*
- *
+ * Socket options
*
* | Option Name |
* Description |