8231027: Correct typos
authorserb
Tue, 17 Sep 2019 19:52:51 -0700
changeset 58198 c46407f651a9
parent 58196 cea6839598e8
child 58202 a45cce906207
8231027: Correct typos Reviewed-by: lancea, dholmes, erikj
make/autoconf/buildjdk-spec.gmk.in
make/autoconf/spec.gmk.in
src/hotspot/share/opto/block.hpp
src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java
src/java.xml/share/classes/com/sun/xml/internal/stream/StaxXMLInputSource.java
src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/BignumDtoa.java
test/jdk/java/awt/GradientPaint/LinearColorSpaceGradientTest.java
test/jdk/java/awt/Graphics2D/DrawString/XRenderElt254TextTest.java
test/jdk/java/nio/channels/Selector/WakeupSpeed.java
test/jdk/java/text/Format/DecimalFormat/FormatMicroBenchmark.java
--- a/make/autoconf/buildjdk-spec.gmk.in	Tue Sep 17 19:09:37 2019 -0400
+++ b/make/autoconf/buildjdk-spec.gmk.in	Tue Sep 17 19:52:51 2019 -0700
@@ -91,7 +91,7 @@
 # Save speed and disk space by not enabling debug symbols for the buildjdk
 ENABLE_DEBUG_SYMBOLS := false
 
-# Control wether Hotspot builds gtest tests
+# Control whether Hotspot builds gtest tests
 BUILD_GTEST := false
 
 JVM_VARIANTS := server
--- a/make/autoconf/spec.gmk.in	Tue Sep 17 19:09:37 2019 -0400
+++ b/make/autoconf/spec.gmk.in	Tue Sep 17 19:52:51 2019 -0700
@@ -286,7 +286,7 @@
 VALID_JVM_FEATURES := @VALID_JVM_FEATURES@
 VALID_JVM_VARIANTS := @VALID_JVM_VARIANTS@
 
-# Control wether Hotspot builds gtest tests
+# Control whether Hotspot builds gtest tests
 BUILD_GTEST := @BUILD_GTEST@
 
 # Allow overriding the default hotspot library path
--- a/src/hotspot/share/opto/block.hpp	Tue Sep 17 19:09:37 2019 -0400
+++ b/src/hotspot/share/opto/block.hpp	Tue Sep 17 19:52:51 2019 -0700
@@ -317,7 +317,7 @@
   uint find_node( const Node *n ) const;
   // Find and remove n from block list
   void find_remove( const Node *n );
-  // Check wether the node is in the block.
+  // Check whether the node is in the block.
   bool contains (const Node *n) const;
 
   // Return the empty status of a block
--- a/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java	Tue Sep 17 19:09:37 2019 -0400
+++ b/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java	Tue Sep 17 19:52:51 2019 -0700
@@ -3026,7 +3026,7 @@
                                 return XMLEvent.ENTITY_REFERENCE;
                             }
                         }
-                        //Wether it was character reference, entity reference or built-in entity
+                        //Whether it was character reference, entity reference or built-in entity
                         //set the next possible state to SCANNER_STATE_CONTENT
                         setScannerState(SCANNER_STATE_CONTENT);
                         fLastSectionWasEntityReference = true ;
--- a/src/java.xml/share/classes/com/sun/xml/internal/stream/StaxXMLInputSource.java	Tue Sep 17 19:09:37 2019 -0400
+++ b/src/java.xml/share/classes/com/sun/xml/internal/stream/StaxXMLInputSource.java	Tue Sep 17 19:52:51 2019 -0700
@@ -33,7 +33,7 @@
  *
  * @author  Neeraj
  *
- * This class wraps XMLInputSource and is also capable of telling wether application
+ * This class wraps XMLInputSource and is also capable of telling whether application
  * returned XMLStreamReader or not when XMLResolver.resolveEntity
  * was called.
  */
--- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/BignumDtoa.java	Tue Sep 17 19:09:37 2019 -0400
+++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/BignumDtoa.java	Tue Sep 17 19:52:51 2019 -0700
@@ -280,7 +280,7 @@
 
     // Let v = numerator / denominator < 10.
     // Then we generate 'count' digits of d = x.xxxxx... (without the decimal point)
-    // from left to right. Once 'count' digits have been produced we decide wether
+    // from left to right. Once 'count' digits have been produced we decide whether
     // to round up or down. Remainders of exactly .5 round upwards. Numbers such
     // as 9.999999 propagate a carry all the way, and change the
     // exponent (decimal_point), when rounding upwards.
--- a/test/jdk/java/awt/GradientPaint/LinearColorSpaceGradientTest.java	Tue Sep 17 19:09:37 2019 -0400
+++ b/test/jdk/java/awt/GradientPaint/LinearColorSpaceGradientTest.java	Tue Sep 17 19:52:51 2019 -0700
@@ -30,7 +30,7 @@
  * @test
  * @key headful
  * @bug 8023483
- * @summary tests wether the colorspace-parameter is applied correctly when
+ * @summary tests whether the colorspace-parameter is applied correctly when
  *          creating a gradient.
  * @author ceisserer
  */
--- a/test/jdk/java/awt/Graphics2D/DrawString/XRenderElt254TextTest.java	Tue Sep 17 19:09:37 2019 -0400
+++ b/test/jdk/java/awt/Graphics2D/DrawString/XRenderElt254TextTest.java	Tue Sep 17 19:52:51 2019 -0700
@@ -33,7 +33,7 @@
  * @test
  * @key headful
  * @bug 8028722
- * @summary tests wether drawString with 254 characters causes the xrender
+ * @summary tests whether drawString with 254 characters causes the xrender
  *          pipeline to hang.
  * @author ceisserer
  */
--- a/test/jdk/java/nio/channels/Selector/WakeupSpeed.java	Tue Sep 17 19:09:37 2019 -0400
+++ b/test/jdk/java/nio/channels/Selector/WakeupSpeed.java	Tue Sep 17 19:52:51 2019 -0700
@@ -23,7 +23,7 @@
 
 /* @test
  * @bug 4467968
- * @summary Tests wether wakeup makes the next select() call return immediately
+ * @summary Tests whether wakeup makes the next select() call return immediately
  */
 
 import java.io.IOException;
--- a/test/jdk/java/text/Format/DecimalFormat/FormatMicroBenchmark.java	Tue Sep 17 19:09:37 2019 -0400
+++ b/test/jdk/java/text/Format/DecimalFormat/FormatMicroBenchmark.java	Tue Sep 17 19:52:51 2019 -0700
@@ -87,7 +87,7 @@
  *
  *  Note  that these benchmarks  will provide numbers  without any knowledge of
  *  the  implementation of DecimalFormat class. So  to check regression any run
- *  should be compared to another reference run with  a previous JDK, wether or
+ *  should be compared to another reference run with  a previous JDK, whether or
  *  not this previous reference JDK contains fast-path implementation.
  *
  *  The eight benchmarks below are dedicated to measure throughput on different