From 7dcc689932ea276586282e0917f2efc10a598eb7 Mon Sep 17 00:00:00 2001 From: Michael Ernst Date: Wed, 4 Jan 2023 19:59:45 +0000 Subject: [PATCH] 8299563: Fix typos Reviewed-by: lancea, aivanov, sspitsyn --- .../xml/jaxp/unittest/stream/XMLStreamReaderTest/XMLSchema.xsd | 2 +- test/jdk/javax/xml/jaxp/testng/parse/XMLEntityScannerLoad.java | 2 +- test/jdk/sun/jvmstat/testlibrary/utils.sh | 2 +- .../management/jmxremote/bootstrap/JMXInterfaceBindingTest.java | 2 +- test/jdk/sun/misc/SunMiscSignalTest.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/jaxp/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/XMLSchema.xsd b/test/jaxp/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/XMLSchema.xsd index 2e9a2729ec5..1efc31dec3a 100644 --- a/test/jaxp/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/XMLSchema.xsd +++ b/test/jaxp/javax/xml/jaxp/unittest/stream/XMLStreamReaderTest/XMLSchema.xsd @@ -647,7 +647,7 @@ - The element element can be used either + The element can be used either at the top level to define an element-type binding globally, or within a content model to either reference a globally-defined element or type or declare an element-type binding locally. diff --git a/test/jdk/javax/xml/jaxp/testng/parse/XMLEntityScannerLoad.java b/test/jdk/javax/xml/jaxp/testng/parse/XMLEntityScannerLoad.java index 308f17382fc..eac91f7fdc9 100644 --- a/test/jdk/javax/xml/jaxp/testng/parse/XMLEntityScannerLoad.java +++ b/test/jdk/javax/xml/jaxp/testng/parse/XMLEntityScannerLoad.java @@ -39,7 +39,7 @@ import org.xml.sax.SAXException; * https://bugs.openjdk.org/browse/JDK-8059327 * * Also: - * JDK-8061550: XMLEntityScanner can corrupt corrupt content during parsing + * JDK-8061550: XMLEntityScanner can corrupt content during parsing * https://bugs.openjdk.org/browse/JDK-8061550 * * @Summary: verify that the character cache in XMLEntityScanner is reset properly diff --git a/test/jdk/sun/jvmstat/testlibrary/utils.sh b/test/jdk/sun/jvmstat/testlibrary/utils.sh index d0224a293d3..a08ae37a99d 100644 --- a/test/jdk/sun/jvmstat/testlibrary/utils.sh +++ b/test/jdk/sun/jvmstat/testlibrary/utils.sh @@ -178,7 +178,7 @@ kill_proc_common() { # check if it's still hanging around if [ $? -eq 0 ] then - # it's still lingering, now it it hard + # it's still lingering, now hit it hard kill -KILL ${kpid} 2>/dev/null if [ $? -ne 0 ] then diff --git a/test/jdk/sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java b/test/jdk/sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java index 5fb1fab4eb4..ab029b26268 100644 --- a/test/jdk/sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java +++ b/test/jdk/sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java @@ -165,7 +165,7 @@ public class JMXInterfaceBindingTest { if (testFailed) { int exitValue = output.getExitValue(); if (needRetry) { - System.err.println("Test FAILURE on " + name + " reason: run out of retries to to pick free ports"); + System.err.println("Test FAILURE on " + name + " reason: run out of retries to pick free ports"); } else if (exitValue == COMMUNICATION_ERROR_EXIT_VAL) { // Failure case since the java processes should still be // running. diff --git a/test/jdk/sun/misc/SunMiscSignalTest.java b/test/jdk/sun/misc/SunMiscSignalTest.java index dd45ec179b0..ff88ccf2485 100644 --- a/test/jdk/sun/misc/SunMiscSignalTest.java +++ b/test/jdk/sun/misc/SunMiscSignalTest.java @@ -95,7 +95,7 @@ public class SunMiscSignalTest { // Provider of signals to be tested with variations for -Xrs and // platform dependencies - // -Xrs restricted signals signals the VM will not handle SIGINT, SIGTERM, SIGHUP and others + // -Xrs restricted signals the VM will not handle SIGINT, SIGTERM, SIGHUP and others @DataProvider(name = "supportedSignals") static Object[][] supportedSignals() { RestrictedSignals rs = RUNNING_WITH_Xrs ? RestrictedSignals.XRS : RestrictedSignals.NORMAL;