8299563: Fix typos

Reviewed-by: lancea, aivanov, sspitsyn
This commit is contained in:
Michael Ernst 2023-01-04 19:59:45 +00:00 committed by Alexey Ivanov
parent 44be5edf5a
commit 7dcc689932
5 changed files with 5 additions and 5 deletions

View File

@ -647,7 +647,7 @@
<xs:complexType name="element" abstract="true">
<xs:annotation>
<xs:documentation>
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.

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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;