diff --git a/make/autoconf/buildjdk-spec.gmk.in b/make/autoconf/buildjdk-spec.gmk.in index 2446642f45..4cd3165247 100644 --- a/make/autoconf/buildjdk-spec.gmk.in +++ b/make/autoconf/buildjdk-spec.gmk.in @@ -91,7 +91,7 @@ DISABLE_WARNING_PREFIX := @BUILD_CC_DISABLE_WARNING_PREFIX@ # 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 diff --git a/make/autoconf/spec.gmk.in b/make/autoconf/spec.gmk.in index 7b5eb5b19d..15cbedefa3 100644 --- a/make/autoconf/spec.gmk.in +++ b/make/autoconf/spec.gmk.in @@ -286,7 +286,7 @@ JVM_FEATURES_custom := @JVM_FEATURES_custom@ 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 diff --git a/src/hotspot/share/opto/block.hpp b/src/hotspot/share/opto/block.hpp index 385d3abaf4..9a6fccc5a1 100644 --- a/src/hotspot/share/opto/block.hpp +++ b/src/hotspot/share/opto/block.hpp @@ -317,7 +317,7 @@ public: 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 diff --git a/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java b/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java index d074b0366d..02a6bd30c5 100644 --- a/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java +++ b/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java @@ -3026,7 +3026,7 @@ public class XMLDocumentFragmentScannerImpl 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 ; diff --git a/src/java.xml/share/classes/com/sun/xml/internal/stream/StaxXMLInputSource.java b/src/java.xml/share/classes/com/sun/xml/internal/stream/StaxXMLInputSource.java index 02cc647b90..d99b780dfb 100644 --- a/src/java.xml/share/classes/com/sun/xml/internal/stream/StaxXMLInputSource.java +++ b/src/java.xml/share/classes/com/sun/xml/internal/stream/StaxXMLInputSource.java @@ -33,7 +33,7 @@ import com.sun.org.apache.xerces.internal.xni.parser.XMLInputSource; * * @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. */ diff --git a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/BignumDtoa.java b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/BignumDtoa.java index 099a178de2..a5832348fb 100644 --- a/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/BignumDtoa.java +++ b/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/doubleconv/BignumDtoa.java @@ -280,7 +280,7 @@ class BignumDtoa { // 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. diff --git a/test/jdk/java/awt/GradientPaint/LinearColorSpaceGradientTest.java b/test/jdk/java/awt/GradientPaint/LinearColorSpaceGradientTest.java index f331e56c7e..fb856b13a2 100644 --- a/test/jdk/java/awt/GradientPaint/LinearColorSpaceGradientTest.java +++ b/test/jdk/java/awt/GradientPaint/LinearColorSpaceGradientTest.java @@ -30,7 +30,7 @@ import java.awt.image.*; * @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 */ diff --git a/test/jdk/java/awt/Graphics2D/DrawString/XRenderElt254TextTest.java b/test/jdk/java/awt/Graphics2D/DrawString/XRenderElt254TextTest.java index 6334453508..994a164827 100644 --- a/test/jdk/java/awt/Graphics2D/DrawString/XRenderElt254TextTest.java +++ b/test/jdk/java/awt/Graphics2D/DrawString/XRenderElt254TextTest.java @@ -33,7 +33,7 @@ import javax.swing.*; * @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 */ diff --git a/test/jdk/java/nio/channels/Selector/WakeupSpeed.java b/test/jdk/java/nio/channels/Selector/WakeupSpeed.java index 48daa87ca1..757af97937 100644 --- a/test/jdk/java/nio/channels/Selector/WakeupSpeed.java +++ b/test/jdk/java/nio/channels/Selector/WakeupSpeed.java @@ -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; diff --git a/test/jdk/java/text/Format/DecimalFormat/FormatMicroBenchmark.java b/test/jdk/java/text/Format/DecimalFormat/FormatMicroBenchmark.java index 372d3e0ce9..9eca5e07a0 100644 --- a/test/jdk/java/text/Format/DecimalFormat/FormatMicroBenchmark.java +++ b/test/jdk/java/text/Format/DecimalFormat/FormatMicroBenchmark.java @@ -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