diff --git a/src/java.base/share/classes/sun/text/spi/JavaTimeDateTimePatternProvider.java b/src/java.base/share/classes/sun/text/spi/JavaTimeDateTimePatternProvider.java
index c8fd888e2b2..a3835c6ac82 100644
--- a/src/java.base/share/classes/sun/text/spi/JavaTimeDateTimePatternProvider.java
+++ b/src/java.base/share/classes/sun/text/spi/JavaTimeDateTimePatternProvider.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 2022, 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
@@ -46,12 +46,12 @@ public abstract class JavaTimeDateTimePatternProvider extends LocaleServiceProvi
* Concrete implementation of this method will retrieve
* a java.time specific dateTime Pattern from selected Locale Provider.
*
- * @param timeStyle an {@code int} value representing FormatStyle constant, -1
+ * @param timeStyle an {@code int} value, representing FormatStyle constant, -1
* for date-only pattern
- * @param dateStyle an {@code int} value,representing FormatStyle constant, -1
+ * @param dateStyle an {@code int} value, representing FormatStyle constant, -1
* for time-only pattern
* @param locale {@code locale}, non-null
- * @param calType a {@code String},non-null representing CalendarType such as "japanese",
+ * @param calType a {@code String}, non-null representing CalendarType such as "japanese",
* "iso8601"
* @return formatting pattern {@code String}
* @see java.time.format.DateTimeFormatterBuilder#convertStyle(java.time.format.FormatStyle)
diff --git a/src/java.desktop/share/classes/com/sun/beans/TypeResolver.java b/src/java.desktop/share/classes/com/sun/beans/TypeResolver.java
index 25f07947310..c8f2d1891dc 100644
--- a/src/java.desktop/share/classes/com/sun/beans/TypeResolver.java
+++ b/src/java.desktop/share/classes/com/sun/beans/TypeResolver.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2022, 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
@@ -104,7 +104,7 @@ public final class TypeResolver {
* of those parameters. For example, Map<K,V> is a generic class, and
* a corresponding ParameterizedType might look like
* Map<K=String,V=Integer>. Given such a ParameterizedType, this method
- * will replace K with String, or List<K> with List<String;, or
+ * will replace K with String, or List<K> with List<String>, or
* List<? super K> with List<? super String>.
*
* The {@code actual} argument to this method can also be a Class.
diff --git a/src/java.desktop/share/classes/java/awt/List.java b/src/java.desktop/share/classes/java/awt/List.java
index 3877fcd3b3d..f29374ab6bc 100644
--- a/src/java.desktop/share/classes/java/awt/List.java
+++ b/src/java.desktop/share/classes/java/awt/List.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995, 2021, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 2022, 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
@@ -1750,7 +1750,7 @@ public class List extends Component implements ItemSelectable, Accessible {
/**
* Get the Font of this object.
*
- * @return the Font,if supported, for the object; otherwise, null
+ * @return the Font, if supported, for the object; otherwise, null
* @see #setFont
*/
public Font getFont() {
diff --git a/src/java.desktop/share/classes/java/awt/MenuComponent.java b/src/java.desktop/share/classes/java/awt/MenuComponent.java
index 0e7ab46cedf..2550eea7f52 100644
--- a/src/java.desktop/share/classes/java/awt/MenuComponent.java
+++ b/src/java.desktop/share/classes/java/awt/MenuComponent.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1995, 2021, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 2022, 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
@@ -742,7 +742,7 @@ public abstract class MenuComponent implements java.io.Serializable {
/**
* Gets the {@code Font} of this object.
*
- * @return the {@code Font},if supported, for the object;
+ * @return the {@code Font}, if supported, for the object;
* otherwise, {@code null}
*/
public Font getFont() {
diff --git a/src/java.desktop/share/classes/java/awt/font/GlyphJustificationInfo.java b/src/java.desktop/share/classes/java/awt/font/GlyphJustificationInfo.java
index c4a8a7452b6..f9cc5d547f3 100644
--- a/src/java.desktop/share/classes/java/awt/font/GlyphJustificationInfo.java
+++ b/src/java.desktop/share/classes/java/awt/font/GlyphJustificationInfo.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 1999, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2022, 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
@@ -193,7 +193,7 @@ public final class GlyphJustificationInfo {
public final int shrinkPriority;
/**
- * If {@code true},this glyph absorbs all remaining shrinkage at
+ * If {@code true}, this glyph absorbs all remaining shrinkage at
* this and lower priority levels as it shrinks.
*/
public final boolean shrinkAbsorb;
diff --git a/src/java.desktop/share/classes/java/awt/geom/Arc2D.java b/src/java.desktop/share/classes/java/awt/geom/Arc2D.java
index 849cc470379..16a891b2cc4 100644
--- a/src/java.desktop/share/classes/java/awt/geom/Arc2D.java
+++ b/src/java.desktop/share/classes/java/awt/geom/Arc2D.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2022, 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
@@ -777,7 +777,7 @@ public abstract class Arc2D extends RectangularShape {
* elliptical boundary of the arc.
*
* @return A {@code Point2D} object representing the
- * x,y coordinates of the ending point of the arc.
+ * x,y coordinates of the ending point of the arc.
* @since 1.2
*/
public Point2D getEndPoint() {
diff --git a/src/java.desktop/share/classes/javax/imageio/stream/ImageInputStream.java b/src/java.desktop/share/classes/javax/imageio/stream/ImageInputStream.java
index 6c05a7183c9..d8999d4a884 100644
--- a/src/java.desktop/share/classes/javax/imageio/stream/ImageInputStream.java
+++ b/src/java.desktop/share/classes/javax/imageio/stream/ImageInputStream.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2022, 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
@@ -393,7 +393,7 @@ public interface ImageInputStream extends DataInput, Closeable {
* zero-extension. If the character {@code '\n'} is
* encountered, it is discarded and reading ceases. If the
* character {@code '\r'} is encountered, it is discarded
- * and, if the following byte converts to the character
+ * and, if the following byte converts to the character
* {@code '\n'}, then that is discarded also; reading then
* ceases. If end of file is encountered before either of the
* characters {@code '\n'} and {@code '\r'} is
diff --git a/src/java.desktop/share/classes/javax/print/attribute/standard/JobStateReason.java b/src/java.desktop/share/classes/javax/print/attribute/standard/JobStateReason.java
index f5ab4103098..2f8526cb7b1 100644
--- a/src/java.desktop/share/classes/javax/print/attribute/standard/JobStateReason.java
+++ b/src/java.desktop/share/classes/javax/print/attribute/standard/JobStateReason.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2022, 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
@@ -89,7 +89,7 @@ public class JobStateReason extends EnumSyntax implements Attribute {
/**
* The printer could not access one or more documents passed by reference
* (i.e., the print data representation object is a {@code URL}). This
- * reason is intended to cover any file access problem,including file does
+ * reason is intended to cover any file access problem, including file does
* not exist and access denied because of an access control problem. Whether
* the printer aborts the job and moves the job to the {@code ABORTED} job
* state or prints all documents that are accessible and moves the job to
diff --git a/src/java.desktop/share/classes/javax/sound/midi/Sequencer.java b/src/java.desktop/share/classes/javax/sound/midi/Sequencer.java
index 4ee2cbcfd5a..f51cb373427 100644
--- a/src/java.desktop/share/classes/javax/sound/midi/Sequencer.java
+++ b/src/java.desktop/share/classes/javax/sound/midi/Sequencer.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2022, 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
@@ -472,7 +472,7 @@ public interface Sequencer extends MidiDevice {
/**
* Registers a meta-event listener to receive notification whenever a
* meta-event is encountered in the sequence and processed by the sequencer.
- * This method can fail if, for instance,this class of sequencer does not
+ * This method can fail if, for instance, this class of sequencer does not
* support meta-event notification.
*
* @param listener listener to add
diff --git a/src/java.desktop/share/classes/javax/swing/text/html/AccessibleHTML.java b/src/java.desktop/share/classes/javax/swing/text/html/AccessibleHTML.java
index ba8465d4570..12cd5a74a72 100644
--- a/src/java.desktop/share/classes/javax/swing/text/html/AccessibleHTML.java
+++ b/src/java.desktop/share/classes/javax/swing/text/html/AccessibleHTML.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2022, 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
@@ -464,7 +464,7 @@ class AccessibleHTML implements Accessible {
/**
* Gets the Font of this object.
*
- * @return the Font,if supported, for the object; otherwise, null
+ * @return the Font, if supported, for the object; otherwise, null
* @see #setFont
*/
public Font getFont() {
diff --git a/src/java.logging/share/classes/java/util/logging/LogRecord.java b/src/java.logging/share/classes/java/util/logging/LogRecord.java
index 5549789664a..6d680d7f606 100644
--- a/src/java.logging/share/classes/java/util/logging/LogRecord.java
+++ b/src/java.logging/share/classes/java/util/logging/LogRecord.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2022, 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
@@ -179,7 +179,7 @@ public class LogRecord implements java.io.Serializable {
/**
* Synthesizes a pseudo unique integer value from a long {@code id} value.
- * For backward compatibility with previous releases,the returned integer is
+ * For backward compatibility with previous releases, the returned integer is
* such that for any positive long less than or equals to {@code Integer.MAX_VALUE},
* the returned integer is equal to the original value.
* Otherwise - it is synthesized with a best effort hashing algorithm,
diff --git a/src/java.management/share/classes/javax/management/MXBean.java b/src/java.management/share/classes/javax/management/MXBean.java
index f583ba62eaa..e1d740d39be 100644
--- a/src/java.management/share/classes/javax/management/MXBean.java
+++ b/src/java.management/share/classes/javax/management/MXBean.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2005, 2021, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2022, 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
@@ -929,7 +929,7 @@ public interface ModuleMXBean {
Otherwise, if J has at least one public
constructor with either {@link javax.management.ConstructorParameters
@javax.management.ConstructorParameters} or
- {@code @java.beans.ConstructoProperties} annotation, then one of those
+ {@code @java.beans.ConstructorProperties} annotation, then one of those
constructors (not necessarily always the same one) will be called to
reconstruct an instance of J.
If a constructor is annotated with both
diff --git a/src/java.security.sasl/share/classes/javax/security/sasl/SaslServer.java b/src/java.security.sasl/share/classes/javax/security/sasl/SaslServer.java
index 697b790deed..1e2d08aa8a1 100644
--- a/src/java.security.sasl/share/classes/javax/security/sasl/SaslServer.java
+++ b/src/java.security.sasl/share/classes/javax/security/sasl/SaslServer.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2022, 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
@@ -105,7 +105,7 @@ public abstract interface SaslServer {
* by sending a challenge to the client, or if the authentication has
* succeeded but challenge data needs to be processed by the client.
* {@code isComplete()} should be called
- * after each call to {@code evaluateResponse()},to determine if any further
+ * after each call to {@code evaluateResponse()}, to determine if any further
* response is needed from the client.
*
* @param response The non-null (but possibly empty) response sent
diff --git a/src/java.sql/share/classes/java/sql/BatchUpdateException.java b/src/java.sql/share/classes/java/sql/BatchUpdateException.java
index c94f0788e11..3e480102952 100644
--- a/src/java.sql/share/classes/java/sql/BatchUpdateException.java
+++ b/src/java.sql/share/classes/java/sql/BatchUpdateException.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2022, 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
@@ -55,7 +55,7 @@ import java.util.Arrays;
*
* A JDBC driver implementation should use
* the constructor {@code BatchUpdateException(String reason, String SQLState,
- * int vendorCode, long []updateCounts,Throwable cause) } instead of
+ * int vendorCode, long []updateCounts, Throwable cause) } instead of
* constructors that take {@code int[]} for the update counts to avoid the
* possibility of overflow.
*
@@ -78,7 +78,7 @@ public class BatchUpdateException extends SQLException {
* Note: There is no validation of {@code updateCounts} for
* overflow and because of this it is recommended that you use the constructor
* {@code BatchUpdateException(String reason, String SQLState,
- * int vendorCode, long []updateCounts,Throwable cause) }.
+ * int vendorCode, long []updateCounts, Throwable cause) }.
*
* @param reason a description of the error
* @param SQLState an XOPEN or SQL:2003 code identifying the exception
@@ -115,7 +115,7 @@ public class BatchUpdateException extends SQLException {
* Note: There is no validation of {@code updateCounts} for
* overflow and because of this it is recommended that you use the constructor
* {@code BatchUpdateException(String reason, String SQLState,
- * int vendorCode, long []updateCounts,Throwable cause) }.
+ * int vendorCode, long []updateCounts, Throwable cause) }.
*
* @param reason a description of the exception
* @param SQLState an XOPEN or SQL:2003 code identifying the exception
@@ -148,7 +148,7 @@ public class BatchUpdateException extends SQLException {
* Note: There is no validation of {@code updateCounts} for
* overflow and because of this it is recommended that you use the constructor
* {@code BatchUpdateException(String reason, String SQLState,
- * int vendorCode, long []updateCounts,Throwable cause) }.
+ * int vendorCode, long []updateCounts, Throwable cause) }.
*
* @param reason a description of the exception
* @param updateCounts an array of {@code int}, with each element
@@ -178,7 +178,7 @@ public class BatchUpdateException extends SQLException {
* Note: There is no validation of {@code updateCounts} for
* overflow and because of this it is recommended that you use the constructor
* {@code BatchUpdateException(String reason, String SQLState,
- * int vendorCode, long []updateCounts,Throwable cause) }.
+ * int vendorCode, long []updateCounts, Throwable cause) }.
*
* @param updateCounts an array of {@code int}, with each element
* indicating the update count, {@code Statement.SUCCESS_NO_INFO} or
@@ -244,7 +244,7 @@ public class BatchUpdateException extends SQLException {
* Note: There is no validation of {@code updateCounts} for
* overflow and because of this it is recommended that you use the constructor
* {@code BatchUpdateException(String reason, String SQLState,
- * int vendorCode, long []updateCounts,Throwable cause) }.
+ * int vendorCode, long []updateCounts, Throwable cause) }.
*
* @param updateCounts an array of {@code int}, with each element
* indicating the update count, {@code Statement.SUCCESS_NO_INFO} or
@@ -274,7 +274,7 @@ public class BatchUpdateException extends SQLException {
* Note: There is no validation of {@code updateCounts} for
* overflow and because of this it is recommended that you use the constructor
* {@code BatchUpdateException(String reason, String SQLState,
- * int vendorCode, long []updateCounts,Throwable cause) }.
+ * int vendorCode, long []updateCounts, Throwable cause) }.
*
* @param reason a description of the exception
* @param updateCounts an array of {@code int}, with each element
@@ -315,7 +315,7 @@ public class BatchUpdateException extends SQLException {
* Note: There is no validation of {@code updateCounts} for
* overflow and because of this it is recommended that you use the constructor
* {@code BatchUpdateException(String reason, String SQLState,
- * int vendorCode, long []updateCounts,Throwable cause) }.
+ * int vendorCode, long []updateCounts, Throwable cause) }.
*
* @param cause the underlying reason for this {@code SQLException}
* (which is saved for later retrieval by the {@code getCause()} method);
@@ -351,7 +351,7 @@ public class BatchUpdateException extends SQLException {
* Note: There is no validation of {@code updateCounts} for
* overflow and because of this it is recommended that you use the constructor
* {@code BatchUpdateException(String reason, String SQLState,
- * int vendorCode, long []updateCounts,Throwable cause) }.
+ * int vendorCode, long []updateCounts, Throwable cause) }.
*
* @param cause the underlying reason for this {@code SQLException} (which is saved for later retrieval by the {@code getCause()} method);
* may be null indicating
diff --git a/src/java.sql/share/classes/java/sql/Connection.java b/src/java.sql/share/classes/java/sql/Connection.java
index 0221696ee8f..0a5429d302f 100644
--- a/src/java.sql/share/classes/java/sql/Connection.java
+++ b/src/java.sql/share/classes/java/sql/Connection.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2022, 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
@@ -634,7 +634,7 @@ public interface Connection extends Wrapper, AutoCloseable {
* custom mapping of SQL structured types and distinct types.
*
* You must set the values for the {@code TypeMap} prior to
- * callng {@code setMap} as a JDBC driver may create an internal copy
+ * calling {@code setMap} as a JDBC driver may create an internal copy
* of the {@code TypeMap}:
*
*
@@ -1594,7 +1594,7 @@ throws SQLException;
/**
* Sets and validates the sharding keys for this connection. A {@code null}
* value may be specified for the sharding Key. The validity
- * of a {@code null} sharding key is vendor-specific. Consult your vendor's
+ * of a {@code null} sharding key is vendor-specific. Consult your vendor's
* documentation for additional information.
* @implSpec
* The default implementation will throw a
@@ -1616,7 +1616,7 @@ throws SQLException;
* and set on this connection; false if the sharding keys are not valid or
* the timeout period expires before the operation completes.
* @throws SQLException if an error occurs while performing this validation;
- * a {@code superSharedingKey} is specified
+ * a {@code superShardingKey} is specified
* without a {@code shardingKey};
* this method is called on a closed {@code connection}; or
* the {@code timeout} value is negative.
@@ -1634,7 +1634,7 @@ throws SQLException;
/**
* Sets and validates the sharding key for this connection. A {@code null}
* value may be specified for the sharding Key. The validity
- * of a {@code null} sharding key is vendor-specific. Consult your vendor's
+ * of a {@code null} sharding key is vendor-specific. Consult your vendor's
* documentation for additional information.
* @implSpec
* The default implementation will throw a
@@ -1680,7 +1680,7 @@ throws SQLException;
* The super sharding key may be {@code null}
* @throws SQLException if an error occurs setting the sharding keys;
* this method is called on a closed {@code connection}; or
- * a {@code superSharedingKey} is specified without a {@code shardingKey}
+ * a {@code superShardingKey} is specified without a {@code shardingKey}
* @throws SQLFeatureNotSupportedException if the driver does not support sharding
* @since 9
* @see ShardingKey
diff --git a/src/java.sql/share/classes/java/sql/DatabaseMetaData.java b/src/java.sql/share/classes/java/sql/DatabaseMetaData.java
index 532c37ee4bb..6f63c2989b8 100644
--- a/src/java.sql/share/classes/java/sql/DatabaseMetaData.java
+++ b/src/java.sql/share/classes/java/sql/DatabaseMetaData.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2022, 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
@@ -1513,7 +1513,7 @@ public interface DatabaseMetaData extends Wrapper {
* @param tableNamePattern a table name pattern; must match the
* table name as it is stored in the database
* @param types a list of table types, which must be from the list of table types
- * returned from {@link #getTableTypes},to include; {@code null} returns
+ * returned from {@link #getTableTypes}, to include; {@code null} returns
* all types
* @return {@code ResultSet} - each row is a table description
* @throws SQLException if a database access error occurs
@@ -3044,7 +3044,7 @@ public interface DatabaseMetaData extends Wrapper {
*
SCOPE_TABLE String {@code =>} table name that is the scope of a
* reference attribute ({@code null} if the DATA_TYPE isn't REF)
* SOURCE_DATA_TYPE short {@code =>} source type of a distinct type or user-generated
- * Ref type,SQL type from java.sql.Types ({@code null} if DATA_TYPE
+ * Ref type, SQL type from java.sql.Types ({@code null} if DATA_TYPE
* isn't DISTINCT or user-generated REF)
*
* @param catalog a catalog name; must match the catalog name as it
diff --git a/src/java.sql/share/classes/java/sql/Statement.java b/src/java.sql/share/classes/java/sql/Statement.java
index 10c8d9e12c6..bb5a5cfd64d 100644
--- a/src/java.sql/share/classes/java/sql/Statement.java
+++ b/src/java.sql/share/classes/java/sql/Statement.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2022, 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
@@ -779,7 +779,7 @@ public interface Statement extends Wrapper, AutoCloseable {
*
* @throws SQLException if a database access error occurs,
* this method is called on a closed {@code Statement}, the SQL
- * statement returns a {@code ResultSet} object,the second argument
+ * statement returns a {@code ResultSet} object, the second argument
* supplied to this method is not an
* {@code int} array whose elements are valid column indexes, the method is called on a
* {@code PreparedStatement} or {@code CallableStatement}
@@ -960,7 +960,7 @@ public interface Statement extends Wrapper, AutoCloseable {
* object; {@code false} if it is an update count or there
* are no more results
* @throws SQLException if a database access error occurs,
- * this method is called on a closed {@code Statement},the
+ * this method is called on a closed {@code Statement}, the
* elements of the {@code String} array passed to this
* method are not valid column names, the method is called on a
* {@code PreparedStatement} or {@code CallableStatement}
diff --git a/src/java.xml/share/classes/javax/xml/stream/XMLStreamReader.java b/src/java.xml/share/classes/javax/xml/stream/XMLStreamReader.java
index c2a230fe285..a40b4c9142b 100644
--- a/src/java.xml/share/classes/javax/xml/stream/XMLStreamReader.java
+++ b/src/java.xml/share/classes/javax/xml/stream/XMLStreamReader.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2022, 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
@@ -85,7 +85,7 @@ import javax.xml.namespace.QName;
* getProperty(), hasNext(), require(), close(),
* getNamespaceURI(), isStartElement(),
* isEndElement(), isCharacters(), isWhiteSpace(),
- * getNamespaceContext(), getEventType(),getLocation(),
+ * getNamespaceContext(), getEventType(), getLocation(),
* hasText(), hasName()
* |
*
diff --git a/src/java.xml/share/classes/org/xml/sax/ext/DeclHandler.java b/src/java.xml/share/classes/org/xml/sax/ext/DeclHandler.java
index 7d5944656f2..f0ce5b63ae2 100644
--- a/src/java.xml/share/classes/org/xml/sax/ext/DeclHandler.java
+++ b/src/java.xml/share/classes/org/xml/sax/ext/DeclHandler.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2022, 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
@@ -67,7 +67,7 @@ public interface DeclHandler
* string "ANY", or a parenthesised group, optionally followed
* by an occurrence indicator. The model will be normalized so
* that all parameter entities are fully resolved and all whitespace
- * is removed,and will include the enclosing parentheses. Other
+ * is removed, and will include the enclosing parentheses. Other
* normalization (such as removing redundant parentheses or
* simplifying occurrence indicators) is at the discretion of the
* parser.
diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ArgumentAttr.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ArgumentAttr.java
index fe0f1432305..99d0cae240e 100644
--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ArgumentAttr.java
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/ArgumentAttr.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, 2021, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2022, 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,7 +143,7 @@ public class ArgumentAttr extends JCTree.Visitor {
/**
* Checks a type in the speculative tree against a given result; the type can be either a plain
- * type or an argument type,in which case a more complex check is required.
+ * type or an argument type, in which case a more complex check is required.
*/
Type checkSpeculative(JCTree expr, ResultInfo resultInfo) {
return checkSpeculative(expr, expr.type, resultInfo);
@@ -151,7 +151,7 @@ public class ArgumentAttr extends JCTree.Visitor {
/**
* Checks a type in the speculative tree against a given result; the type can be either a plain
- * type or an argument type,in which case a more complex check is required.
+ * type or an argument type, in which case a more complex check is required.
*/
Type checkSpeculative(DiagnosticPosition pos, Type t, ResultInfo resultInfo) {
if (t.hasTag(DEFERRED)) {
diff --git a/src/jdk.compiler/share/classes/com/sun/tools/sjavac/Package.java b/src/jdk.compiler/share/classes/com/sun/tools/sjavac/Package.java
index 8a9f1cbb301..f10d1b4fa69 100644
--- a/src/jdk.compiler/share/classes/com/sun/tools/sjavac/Package.java
+++ b/src/jdk.compiler/share/classes/com/sun/tools/sjavac/Package.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, 2021, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2022, 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
@@ -44,7 +44,7 @@ import com.sun.tools.sjavac.pubapi.PubApi;
/**
* The Package class maintains meta information about a package.
- * For example its sources, dependents,its pubapi and its artifacts.
+ * For example its sources, dependents, its pubapi and its artifacts.
*
* It might look odd that we track dependents/pubapi/artifacts on
* a package level, but it makes sense since recompiling a full package
diff --git a/src/jdk.compiler/share/classes/com/sun/tools/sjavac/Transformer.java b/src/jdk.compiler/share/classes/com/sun/tools/sjavac/Transformer.java
index c9e2c62865c..4f2ea5d0c7e 100644
--- a/src/jdk.compiler/share/classes/com/sun/tools/sjavac/Transformer.java
+++ b/src/jdk.compiler/share/classes/com/sun/tools/sjavac/Transformer.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2022, 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
@@ -38,7 +38,7 @@ import com.sun.tools.sjavac.pubapi.PubApi;
* The transform interface is used to transform content inside a package, from one form to another.
* Usually the output form is an unpredictable number of output files. (eg class files)
* but can also be an unpredictable number of generated source files (eg idl2java)
- * or a single predictable output file (eg when copying,cleaning or compiling a properties file).
+ * or a single predictable output file (eg when copying, cleaning or compiling a properties file).
*
*