8284209: Replace remaining usages of 'a the' in source code
Reviewed-by: lancea, wetmore, dfuchs, iris, jjg, ihse
This commit is contained in:
parent
6cc4bb1169
commit
9b7e42c0f0
@ -732,7 +732,7 @@ class Bundle {
|
||||
// this is a workaround in which 'B' character
|
||||
// appearing in CLDR date-time pattern is replaced
|
||||
// with 'a' character and hence resolved with am/pm strings.
|
||||
// This workaround is based on the the fallback mechanism
|
||||
// This workaround is based on the fallback mechanism
|
||||
// specified in LDML spec for 'B' character, when a locale
|
||||
// does not have data for day period ('B')
|
||||
appendN('a', count, sb);
|
||||
|
@ -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
|
||||
@ -131,7 +131,7 @@ class DTDBuilder extends DTD {
|
||||
}
|
||||
|
||||
//
|
||||
// The the id of a name from the list of names
|
||||
// The id of a name from the list of names
|
||||
//
|
||||
private short getNameId(String name) {
|
||||
Integer o = namesHash.get(name);
|
||||
|
@ -148,7 +148,7 @@ class RuleBasedBreakIteratorBuilder {
|
||||
|
||||
/**
|
||||
* Looping states actually have to be backfilled later in the process
|
||||
* than everything else. This is where a the list of states to backfill
|
||||
* than everything else. This is where the list of states to backfill
|
||||
* is accumulated. This is also used to handle .*?
|
||||
*/
|
||||
protected Vector<Integer> statesToBackfill = null;
|
||||
@ -1300,7 +1300,7 @@ class RuleBasedBreakIteratorBuilder {
|
||||
newValues[(int)(pendingChars.charAt(i)) - 0x100] = newValue;
|
||||
|
||||
// go through the list of rows to update, and update them by calling
|
||||
// mergeStates() to merge them the the dummy state we created
|
||||
// mergeStates() to merge them the dummy state we created
|
||||
for (int i = 0; i < rows.size(); i++) {
|
||||
mergeStates(rows.elementAt(i).intValue(), newValues, rows);
|
||||
}
|
||||
@ -1881,7 +1881,7 @@ class RuleBasedBreakIteratorBuilder {
|
||||
// we have to merge the resulting state table with the auto-generated one
|
||||
// above. First copy the populated cells from row 1 over the populated
|
||||
// cells in the auto-generated table. Then copy values from row 1 of the
|
||||
// auto-generated table into all of the the unpopulated cells of the
|
||||
// auto-generated table into all of the unpopulated cells of the
|
||||
// rule-based table.
|
||||
if (backTableOffset > 1) {
|
||||
|
||||
|
@ -169,7 +169,7 @@ import java.util.Optional;
|
||||
* The tools allows to:
|
||||
* * convert the .sym.txt into class/sig files for ct.sym
|
||||
* * in cooperation with the adjacent history Probe, construct .sym.txt files for previous platforms
|
||||
* * enhance existing .sym.txt files with a a new set .sym.txt for the current platform
|
||||
* * enhance existing .sym.txt files with a new set .sym.txt for the current platform
|
||||
*
|
||||
* To convert the .sym.txt files to class/sig files from ct.sym, run:
|
||||
* java build.tool.symbolgenerator.CreateSymbols build-ctsym <platform-description-file> <target-directory>
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2014, 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
|
||||
@ -233,7 +233,7 @@ $(eval $(call SetupCopyLegalFiles, COPY_LEGAL, \
|
||||
TARGETS += $(COPY_LEGAL)
|
||||
|
||||
################################################################################
|
||||
# Optionally copy libffi.so.? into the the image
|
||||
# Optionally copy libffi.so.? into the image
|
||||
|
||||
ifeq ($(ENABLE_LIBFFI_BUNDLING), true)
|
||||
$(eval $(call SetupCopyFiles, COPY_LIBFFI, \
|
||||
@ -247,7 +247,7 @@ ifeq ($(ENABLE_LIBFFI_BUNDLING), true)
|
||||
endif
|
||||
|
||||
################################################################################
|
||||
# Optionally copy hsdis into the the image
|
||||
# Optionally copy hsdis into the image
|
||||
|
||||
ifeq ($(ENABLE_HSDIS_BUNDLING), true)
|
||||
HSDIS_NAME := hsdis-$(OPENJDK_TARGET_CPU_LEGACY_LIB)$(SHARED_LIBRARY_SUFFIX)
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2012, 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
|
||||
@ -30,7 +30,7 @@
|
||||
# typically beginning with -c.
|
||||
#
|
||||
# This script will run the shell command line and it will also store a simple
|
||||
# log of the the time it takes to execute the command in the OUTPUT_FILE, using
|
||||
# log of the time it takes to execute the command in the OUTPUT_FILE, using
|
||||
# utility for time measure specified with TIME_CMD option.
|
||||
#
|
||||
# Type of time measure utility is specified with TIME_CMD_TYPE option.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2020, 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
|
||||
@ -122,7 +122,7 @@
|
||||
* <h2>Starting an Agent After VM Startup</h2>
|
||||
*
|
||||
* <p> An implementation may provide a mechanism to start agents sometime after
|
||||
* the the VM has started. The details as to how this is initiated are
|
||||
* the VM has started. The details as to how this is initiated are
|
||||
* implementation specific but typically the application has already started and
|
||||
* its {@code main} method has already been invoked. In cases where an
|
||||
* implementation supports the starting of agents after the VM has started the
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1999, 2009, 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
|
||||
@ -97,7 +97,7 @@ public class InitialDirContext extends InitialContext implements DirContext {
|
||||
* The order that providers are located is implementation specific
|
||||
* and an implementation is free to cache the located providers.
|
||||
* <li>The {@code lookupEndpoints} method of each provider, if instantiated,
|
||||
* is invoked once with a combination of each of the URLs in the the
|
||||
* is invoked once with a combination of each of the URLs in the
|
||||
* {@code java.naming.provider.url} property and the environment until
|
||||
* a provider returns non-empty or all providers have been exhausted.
|
||||
* If none of the
|
||||
|
@ -855,7 +855,7 @@ public class CachedRowSetImpl extends BaseRowSet implements RowSet, RowSetIntern
|
||||
* object.
|
||||
* <P>
|
||||
* <b>Note</b>In the reference implementation an optimistic concurrency implementation
|
||||
* is provided as a sample implementation of a the <code>SyncProvider</code>
|
||||
* is provided as a sample implementation of the <code>SyncProvider</code>
|
||||
* abstract class.
|
||||
* <P>
|
||||
* This method fails if any of the updates cannot be propagated back
|
||||
@ -1040,7 +1040,7 @@ public class CachedRowSetImpl extends BaseRowSet implements RowSet, RowSetIntern
|
||||
/**
|
||||
* Immediately removes the current row from this
|
||||
* <code>CachedRowSetImpl</code> object if the row has been inserted, and
|
||||
* also notifies listeners the a row has changed. An exception is thrown
|
||||
* also notifies listeners the row has changed. An exception is thrown
|
||||
* if the row is not a row that has been inserted or the cursor is before
|
||||
* the first row, after the last row, or on the insert row.
|
||||
* <P>
|
||||
|
@ -596,7 +596,7 @@ public class SyncResolverImpl extends CachedRowSetImpl implements SyncResolver {
|
||||
* object.
|
||||
* <P>
|
||||
* <b>Note</b>In the reference implementation an optimistic concurrency implementation
|
||||
* is provided as a sample implementation of a the {@code SyncProvider}
|
||||
* is provided as a sample implementation of the {@code SyncProvider}
|
||||
* abstract class.
|
||||
* <P>
|
||||
* This method fails if any of the updates cannot be propagated back
|
||||
@ -698,7 +698,7 @@ public class SyncResolverImpl extends CachedRowSetImpl implements SyncResolver {
|
||||
/**
|
||||
* Immediately removes the current row from this
|
||||
* {@code CachedRowSetImpl} object if the row has been inserted, and
|
||||
* also notifies listeners the a row has changed. An exception is thrown
|
||||
* also notifies listeners the row has changed. An exception is thrown
|
||||
* if the row is not a row that has been inserted or the cursor is before
|
||||
* the first row, after the last row, or on the insert row.
|
||||
* <P>
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2021, 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
|
||||
@ -235,7 +235,7 @@ public class SerialClob implements Clob, Serializable, Cloneable {
|
||||
return this.clob.getAsciiStream();
|
||||
} else {
|
||||
throw new SerialException("Unsupported operation. SerialClob cannot " +
|
||||
"return a the CLOB value as an ascii stream, unless instantiated " +
|
||||
"return the CLOB value as an ascii stream, unless instantiated " +
|
||||
"with a fully implemented Clob object.");
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
@ -88,7 +88,7 @@ import com.sun.tools.javac.util.Options;
|
||||
* For each combination of options, a separate task/context is created and kept, as most option
|
||||
* values are cached inside components themselves.
|
||||
* <p>
|
||||
* When the compilation redefines sensitive classes (e.g. classes in the the java.* packages), the
|
||||
* When the compilation redefines sensitive classes (e.g. classes in the java.* packages), the
|
||||
* task/context is not reused.
|
||||
* <p>
|
||||
* When the task is reused, then packages that were already listed won't be listed again.
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2021, 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
|
||||
@ -442,7 +442,7 @@ public class Annotate {
|
||||
*
|
||||
* @param a the tree representing an annotation
|
||||
* @param expectedAnnotationType the expected (super)type of the annotation
|
||||
* @param env the the current env in where the annotation instance is found
|
||||
* @param env the current env in where the annotation instance is found
|
||||
*/
|
||||
public Attribute.TypeCompound attributeTypeAnnotation(JCAnnotation a, Type expectedAnnotationType,
|
||||
Env<AttrContext> env)
|
||||
|
@ -1593,7 +1593,7 @@ public class Lower extends TreeTranslator {
|
||||
* }
|
||||
*
|
||||
* @param tree The try statement to inspect.
|
||||
* @return A a desugared try-with-resources tree, or the original
|
||||
* @return a desugared try-with-resources tree, or the original
|
||||
* try block if there are no resources to manage.
|
||||
*/
|
||||
JCTree makeTwrTry(JCTry tree) {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2011, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2011, 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
|
||||
@ -620,7 +620,7 @@ public class DocTreeMaker implements DocTreeFactory {
|
||||
* the break is returned, if not then a -1, indicating that
|
||||
* more doctree elements are required to be examined.
|
||||
*
|
||||
* BreakIterator.next points to the the start of the following sentence,
|
||||
* BreakIterator.next points to the start of the following sentence,
|
||||
* and does not provide an easy way to disambiguate between "sentence break",
|
||||
* "possible sentence break" and "not a sentence break" at the end of the input.
|
||||
* For example, BreakIterator.next returns the index for the end
|
||||
|
@ -1046,8 +1046,8 @@ public class TreeMaker implements JCTree.Factory {
|
||||
return VarDef(new VarSymbol(PARAMETER, name, argtype, owner), null);
|
||||
}
|
||||
|
||||
/** Create a a list of value parameter trees x0, ..., xn from a list of
|
||||
* their types and an their owner.
|
||||
/** Create a list of value parameter trees x0, ..., xn from a list of
|
||||
* their types and their owner.
|
||||
*/
|
||||
public List<JCVariableDecl> Params(List<Type> argtypes, Symbol owner) {
|
||||
ListBuffer<JCVariableDecl> params = new ListBuffer<>();
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 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
|
||||
@ -247,7 +247,7 @@ public class SjavacImpl implements Sjavac {
|
||||
true,
|
||||
false);
|
||||
javac_state.now().flattenPackagesSourcesAndArtifacts(modules);
|
||||
// Recheck the the source files and their timestamps again.
|
||||
// Recheck the source files and their timestamps again.
|
||||
javac_state.checkSourceStatus(true);
|
||||
|
||||
// Now do a safety check that the list of source files is identical
|
||||
|
@ -686,7 +686,7 @@ import java.util.Arrays;
|
||||
* because it is relatively rare to find algorithms where, given two
|
||||
* adjacent vector lanes, one lane is somehow more arithmetically
|
||||
* significant than its neighbor, and even in those cases, there is no
|
||||
* general way to know which neighbor is the the more significant.
|
||||
* general way to know which neighbor is the more significant.
|
||||
*
|
||||
* <p> Putting the terms together, we view the information structure
|
||||
* of a vector as a temporal sequence of lanes ("first", "next",
|
||||
@ -2252,7 +2252,7 @@ public abstract class Vector<E> extends jdk.internal.vm.vector.VectorSupport.Vec
|
||||
* <p> The scale must not be so large, and the element size must
|
||||
* not be so small, that that there would be an overflow when
|
||||
* computing any of the {@code N*scale} or {@code VLENGTH*scale},
|
||||
* when the the result is represented using the vector
|
||||
* when the result is represented using the vector
|
||||
* lane type {@code ETYPE}.
|
||||
*
|
||||
* <p>
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 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
|
||||
@ -314,7 +314,7 @@ public abstract class VectorMask<E> extends jdk.internal.vm.vector.VectorSupport
|
||||
* return a;
|
||||
* }</pre>
|
||||
*
|
||||
* @return an array containing the the lane elements of this vector
|
||||
* @return an array containing the lane elements of this vector
|
||||
*/
|
||||
public abstract boolean[] toArray();
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 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
|
||||
@ -412,7 +412,7 @@ public interface VectorSpecies<E> {
|
||||
* Returns a vector of this species
|
||||
* where lane elements are initialized
|
||||
* from the given array at the given offset.
|
||||
* The array must be of the the correct {@code ETYPE}.
|
||||
* The array must be of the correct {@code ETYPE}.
|
||||
*
|
||||
* Equivalent to
|
||||
* {@code IntVector.fromArray(this,a,offset)}
|
||||
|
@ -521,7 +521,7 @@ public final class TerminalBuilder {
|
||||
* build tool uses a <code>LineReader</code> to implement an interactive shell.
|
||||
* One of its supported commands is <code>console</code> which invokes
|
||||
* the scala REPL. The scala REPL also uses a <code>LineReader</code> and it
|
||||
* is necessary to override the {@link Terminal} used by the the REPL to
|
||||
* is necessary to override the {@link Terminal} used by the REPL to
|
||||
* share the same {@link Terminal} instance used by sbt.
|
||||
*
|
||||
* <p>
|
||||
|
@ -116,7 +116,7 @@ public final class WindowsAnsiWriter extends AnsiWriter {
|
||||
}
|
||||
|
||||
private short invertAttributeColors(short attributes) {
|
||||
// Swap the the Foreground and Background bits.
|
||||
// Swap the Foreground and Background bits.
|
||||
int fg = 0x000F & attributes;
|
||||
fg <<= 4;
|
||||
int bg = 0X00F0 & attributes;
|
||||
|
@ -68,7 +68,7 @@ public class Head extends Content {
|
||||
/**
|
||||
* Creates a {@code Head} object, for a given file and HTML version.
|
||||
* The file is used to help determine the relative paths to stylesheet and script files.
|
||||
* The HTML version is used to determine the the appropriate form of a META element
|
||||
* The HTML version is used to determine the appropriate form of a META element
|
||||
* recording the time the file was created.
|
||||
* The doclet version should also be provided for recording in the file.
|
||||
* @param path the path for the file that will include this HEAD element
|
||||
|
@ -221,7 +221,7 @@ public class Extern {
|
||||
|
||||
/**
|
||||
* Check whether links to platform documentation are configured. If not then configure
|
||||
* links using the the documentation URL defined in {@code linkPlatformProperties} or the
|
||||
* links using the documentation URL defined in {@code linkPlatformProperties} or the
|
||||
* default documentation URL if that parameter is {@code null}.
|
||||
*
|
||||
* @param linkPlatformProperties path or URL to properties file containing
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2020, 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
|
||||
@ -64,7 +64,7 @@ public final class ImagePluginConfiguration {
|
||||
}
|
||||
|
||||
/*
|
||||
* Create a stack of plugins from a a configuration.
|
||||
* Create a stack of plugins from a configuration.
|
||||
*/
|
||||
public static ImagePluginStack parseConfiguration(Jlink.PluginsConfiguration pluginsConfiguration)
|
||||
throws Exception {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2016, 2021, 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
|
||||
@ -53,7 +53,7 @@ class JmodOutputStream extends OutputStream implements AutoCloseable {
|
||||
|
||||
/**
|
||||
* This method creates (or overrides, if exists) the JMOD file,
|
||||
* returning the the output stream to write to the JMOD file.
|
||||
* returning the output stream to write to the JMOD file.
|
||||
*/
|
||||
static JmodOutputStream newOutputStream(Path file, LocalDateTime date) throws IOException {
|
||||
OutputStream out = Files.newOutputStream(file);
|
||||
@ -153,4 +153,3 @@ class JmodOutputStream extends OutputStream implements AutoCloseable {
|
||||
zos.close();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2019, 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
|
||||
@ -377,7 +377,7 @@ public abstract class Snippet {
|
||||
* {@link jdk.jshell.Snippet.Status#isActive()}, if, as the
|
||||
* JShell state changes, the snippet will update, possibly
|
||||
* changing {@code Status}.
|
||||
* An executable Snippet can only be executed if it is in the the
|
||||
* An executable Snippet can only be executed if it is in the
|
||||
* {@link jdk.jshell.Snippet.Status#VALID} {@code Status}.
|
||||
* @see JShell#status(jdk.jshell.Snippet)
|
||||
*/
|
||||
|
@ -453,7 +453,7 @@ class SourceCodeAnalysisImpl extends SourceCodeAnalysis {
|
||||
// the context of the identifier is an import, look for
|
||||
// package names that start with the identifier.
|
||||
// If and when Java allows imports from the default
|
||||
// package to the the default package which would allow
|
||||
// package to the default package which would allow
|
||||
// JShell to change to use the default package, and that
|
||||
// change is done, then this should use some variation
|
||||
// of membersOf(at, at.getElements().getPackageElement("").asType(), false)
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 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
|
||||
@ -42,7 +42,7 @@ class RemoteCodes {
|
||||
// Command codes
|
||||
|
||||
/**
|
||||
* Exit the the agent.
|
||||
* Exit the agent.
|
||||
*/
|
||||
static final String CMD_CLOSE = "CMD_CLOSE";
|
||||
/**
|
||||
|
@ -824,7 +824,7 @@ getPdhProcessImageName() {
|
||||
|
||||
/*
|
||||
* Sets up the supplied MultipleCounterQuery to check on the processors via PDH CPU counters.
|
||||
* TODO: Refactor and prettify as with the the SingleCounter queries
|
||||
* TODO: Refactor and prettify as with the SingleCounter queries
|
||||
* if more MultipleCounterQueries are discovered/needed.
|
||||
*
|
||||
* @param multiCounterCPULoad a pointer to a MultipleCounterQueryS, will be filled in with
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 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
|
||||
@ -191,7 +191,7 @@ import java.util.Set;
|
||||
* {@link java.lang.String}</td>
|
||||
* <td>null/unset</td>
|
||||
* <td>
|
||||
* Override the the default group for entries in the Zip file system.<br>
|
||||
* Override the default group for entries in the Zip file system.<br>
|
||||
* The value can be a GroupPrincipal or a String value that is used as the GroupPrincipal's name.
|
||||
* </td>
|
||||
* </tr>
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2019, 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
|
||||
@ -370,7 +370,7 @@ public class CustomLoggerTest {
|
||||
throw new RuntimeException("sys logger in appplication map");
|
||||
}
|
||||
if (provider.system.contains(sysLogger1)) {
|
||||
// sysLogger should be a a LazyLoggerWrapper
|
||||
// sysLogger should be a LazyLoggerWrapper
|
||||
throw new RuntimeException("sys logger is in system map (should be wrapped)");
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2019, 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
|
||||
@ -53,7 +53,7 @@ import sun.util.logging.PlatformLogger;
|
||||
* @test
|
||||
* @bug 8140364
|
||||
* @summary JDK implementation specific unit test for JDK internal artifacts.
|
||||
* Tests all bridge methods with the a custom backend whose
|
||||
* Tests all bridge methods with a custom backend whose
|
||||
* loggers implement PlatformLogger.Bridge.
|
||||
* @modules java.base/sun.util.logging
|
||||
* java.base/jdk.internal.logger
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2019, 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
|
||||
@ -54,7 +54,7 @@ import sun.util.logging.PlatformLogger;
|
||||
* @test
|
||||
* @bug 8140364
|
||||
* @summary JDK implementation specific unit test for JDK internal artifacts.
|
||||
* Tests all bridge methods from PlatformLogger with the a custom
|
||||
* Tests all bridge methods from PlatformLogger with a custom
|
||||
* backend whose loggers implement PlatformLogger.Bridge.
|
||||
* @modules java.base/sun.util.logging
|
||||
* java.logging
|
||||
|
@ -4,7 +4,7 @@ a non US-ASCII class name. As the file system may not support a file with
|
||||
this name the test is compiled off-line and the jar file checked into SCCS.
|
||||
|
||||
In the event that Agent.jar needs to be re-built here are the steps which
|
||||
must be performed on a system that supports the the EURO in a file name
|
||||
must be performed on a system that supports the EURO in a file name
|
||||
(Windows 2000 is fine) :-
|
||||
|
||||
1. Create the agent source file and agent.mf :-
|
||||
@ -19,4 +19,3 @@ must be performed on a system that supports the the EURO in a file name
|
||||
jar cfm Agent.jar agent.mf *.class
|
||||
|
||||
3. Check Agent.jar into SCCS.
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2012, 2015, 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
|
||||
@ -24,7 +24,7 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 8003881
|
||||
* @summary tests Lambda expression with a a security manager at top level
|
||||
* @summary tests Lambda expression with a security manager at top level
|
||||
* @modules jdk.compiler
|
||||
* @compile -XDignore.symbol.file LambdaAccessControlTest.java LUtils.java
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 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
|
||||
@ -323,7 +323,7 @@ public class SerialClobTests extends BaseTest {
|
||||
}
|
||||
|
||||
/*
|
||||
* Validate that position returned is -1 when an the search string is not
|
||||
* Validate that position returned is -1 when the search string is not
|
||||
* part of the SerialClob
|
||||
*/
|
||||
@Test
|
||||
@ -336,7 +336,7 @@ public class SerialClobTests extends BaseTest {
|
||||
}
|
||||
|
||||
/*
|
||||
* Validate that position() returned is -1 when an the search string is not
|
||||
* Validate that position() returned is -1 when the search string is not
|
||||
* part of the SerialClob
|
||||
*/
|
||||
@Test
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* @test
|
||||
* @bug 8168854
|
||||
* @summary javac erroneously reject a a service interface inner class in a provides clause
|
||||
* @summary javac erroneously reject a service interface inner class in a provides clause
|
||||
* @compile module-info.java
|
||||
*/
|
||||
module mod {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2018, 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
|
||||
@ -194,7 +194,7 @@ public class ClassBuilder extends AbstractBuilder {
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds inner-classes, to an an outer class builder.
|
||||
* Adds inner-classes, to an outer class builder.
|
||||
* @param cbs class builder(s) of the inner classes.
|
||||
* @return this builder.
|
||||
*/
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2019, 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
|
||||
@ -910,7 +910,7 @@ public final class HexPrinter {
|
||||
}
|
||||
|
||||
/**
|
||||
* Read a a byte and write nothing.
|
||||
* Read a byte and write nothing.
|
||||
*
|
||||
* @param in a DataInputStream
|
||||
* @param out an Appendable to write the output to
|
||||
|
Loading…
Reference in New Issue
Block a user