diff --git a/src/java.base/share/classes/jdk/internal/access/foreign/MappedMemoryUtilsProxy.java b/src/java.base/share/classes/jdk/internal/access/foreign/MappedMemoryUtilsProxy.java index eb5cf3884701f..2b1797a9701e6 100644 --- a/src/java.base/share/classes/jdk/internal/access/foreign/MappedMemoryUtilsProxy.java +++ b/src/java.base/share/classes/jdk/internal/access/foreign/MappedMemoryUtilsProxy.java @@ -28,7 +28,7 @@ import java.io.FileDescriptor; /** - * This proxy interface is required to allow access to @{code MappedMemoryUtils} methods from {@code ScopedMemoryAccess}. + * This proxy interface is required to allow access to {@code MappedMemoryUtils} methods from {@code ScopedMemoryAccess}. * This allows to avoid pesky initialization issues in the middle of memory mapped scoped methods. */ public interface MappedMemoryUtilsProxy { diff --git a/src/java.base/share/classes/jdk/internal/foreign/abi/fallback/LibFallback.java b/src/java.base/share/classes/jdk/internal/foreign/abi/fallback/LibFallback.java index 6fe8dd5f91ccf..b3dd1b68b63f6 100644 --- a/src/java.base/share/classes/jdk/internal/foreign/abi/fallback/LibFallback.java +++ b/src/java.base/share/classes/jdk/internal/foreign/abi/fallback/LibFallback.java @@ -102,7 +102,7 @@ static void doDowncall(MemorySegment cif, MemorySegment target, MemorySegment re /** * Wrapper for {@code ffi_prep_cif} * - * @param returnType a pointer to an @{code ffi_type} describing the return type + * @param returnType a pointer to an {@code ffi_type} describing the return type * @param numArgs the number of arguments * @param paramTypes a pointer to an array of pointers, which each point to an {@code ffi_type} describing a * parameter type @@ -122,7 +122,7 @@ static MemorySegment prepCif(MemorySegment returnType, int numArgs, MemorySegmen /** * Wrapper for {@code ffi_prep_cif_var}. The variadic version of prep_cif * - * @param returnType a pointer to an @{code ffi_type} describing the return type + * @param returnType a pointer to an {@code ffi_type} describing the return type * @param numFixedArgs the number of fixed arguments * @param numTotalArgs the number of total arguments * @param paramTypes a pointer to an array of pointers, which each point to an {@code ffi_type} describing a diff --git a/src/java.desktop/share/classes/java/awt/image/AffineTransformOp.java b/src/java.desktop/share/classes/java/awt/image/AffineTransformOp.java index 7a3ee8646a725..02d7f15dc494f 100644 --- a/src/java.desktop/share/classes/java/awt/image/AffineTransformOp.java +++ b/src/java.desktop/share/classes/java/awt/image/AffineTransformOp.java @@ -187,7 +187,7 @@ public final int getInterpolationType() { * are not necessarily the same as the coordinates of the * {@code BufferedImage} returned by this method. If the * application provides a {@code dst} that is always returned. - * If {@code dst} is {@code null} and a destination {code BufferedImage} + * If {@code dst} is {@code null} and a destination {@code BufferedImage} * with the transformed dimensions cannot be created, the {@code src} * dimensions will be substituted. * @@ -327,7 +327,7 @@ else if (origDst != dst) { * are not necessarily the same as the coordinates of the * {@code WritableRaster} returned by this method. If the * application provides a {@code dst} that is always returned. - * If {@code dst} is {@code null} and a destination {code Raster} + * If {@code dst} is {@code null} and a destination {@code Raster} * with the transformed dimensions cannot be created, the {@code src} * dimensions will be substituted. *

diff --git a/src/java.desktop/share/classes/java/awt/image/BandedSampleModel.java b/src/java.desktop/share/classes/java/awt/image/BandedSampleModel.java index a7f014d7a597f..4871aadb51989 100644 --- a/src/java.desktop/share/classes/java/awt/image/BandedSampleModel.java +++ b/src/java.desktop/share/classes/java/awt/image/BandedSampleModel.java @@ -668,7 +668,7 @@ public void setDataElements(int x, int y, Object obj, DataBuffer data) { /** * {@inheritDoc} - * @throws NullPointerException if {@code iArray} or {code data} is {@code null}. + * @throws NullPointerException if {@code iArray} or {@code data} is {@code null}. * @throws ArrayIndexOutOfBoundsException if the coordinates are * not in bounds, or if {@code iArray} is too small to hold the input. */ diff --git a/src/java.desktop/share/classes/java/awt/image/MultiPixelPackedSampleModel.java b/src/java.desktop/share/classes/java/awt/image/MultiPixelPackedSampleModel.java index d8f97562c6c46..94d61b8e48297 100644 --- a/src/java.desktop/share/classes/java/awt/image/MultiPixelPackedSampleModel.java +++ b/src/java.desktop/share/classes/java/awt/image/MultiPixelPackedSampleModel.java @@ -454,7 +454,7 @@ public void setSample(int x, int y, int b, int s, * @see #setDataElements(int, int, Object, DataBuffer) * @throws NullPointerException if {@code data} is {@code null}. * @throws ArrayIndexOutOfBoundsException if the coordinates are - * not in bounds, or if {code obj} is too small to hold the output. + * not in bounds, or if {@code obj} is too small to hold the output. */ public Object getDataElements(int x, int y, Object obj, DataBuffer data) { if ((x < 0) || (y < 0) || (x >= width) || (y >= height)) { diff --git a/src/java.desktop/share/classes/java/awt/image/SampleModel.java b/src/java.desktop/share/classes/java/awt/image/SampleModel.java index 134d786634085..0ff8f4cd42527 100644 --- a/src/java.desktop/share/classes/java/awt/image/SampleModel.java +++ b/src/java.desktop/share/classes/java/awt/image/SampleModel.java @@ -1115,7 +1115,7 @@ public double[] getSamples(int x, int y, int w, int h, * @param data The DataBuffer containing the image data. * @see #getPixel(int, int, int[], DataBuffer) * - * @throws NullPointerException if {@code iArray} or {code data} is {@code null}. + * @throws NullPointerException if {@code iArray} or {@code data} is {@code null}. * @throws ArrayIndexOutOfBoundsException if the coordinates are * not in bounds, or if {@code iArray} is too small to hold the input. */ diff --git a/src/java.desktop/share/classes/java/awt/image/SinglePixelPackedSampleModel.java b/src/java.desktop/share/classes/java/awt/image/SinglePixelPackedSampleModel.java index 2ab226ea22718..772041b6bd11d 100644 --- a/src/java.desktop/share/classes/java/awt/image/SinglePixelPackedSampleModel.java +++ b/src/java.desktop/share/classes/java/awt/image/SinglePixelPackedSampleModel.java @@ -609,7 +609,7 @@ public void setDataElements(int x, int y, Object obj, DataBuffer data) { /** * {@inheritDoc} - * @throws NullPointerException if {@code iArray} or {code data} is {@code null}. + * @throws NullPointerException if {@code iArray} or {@code data} is {@code null}. * @throws ArrayIndexOutOfBoundsException if the coordinates are * not in bounds, or if {@code iArray} is too small to hold the input. */ diff --git a/src/java.management/share/classes/javax/management/NumericValueExp.java b/src/java.management/share/classes/javax/management/NumericValueExp.java index b748bb6e6296f..f40a5e9445b0b 100644 --- a/src/java.management/share/classes/javax/management/NumericValueExp.java +++ b/src/java.management/share/classes/javax/management/NumericValueExp.java @@ -59,7 +59,7 @@ class NumericValueExp extends QueryEval implements ValueExp { public NumericValueExp() { } - /** Creates a new NumericValue representing the numeric literal @{code val}.*/ + /** Creates a new NumericValue representing the numeric literal {@code val}.*/ NumericValueExp(Number val) { this.val = val; diff --git a/src/java.net.http/share/classes/jdk/internal/net/http/quic/QuicConnectionImpl.java b/src/java.net.http/share/classes/jdk/internal/net/http/quic/QuicConnectionImpl.java index 41b814a551c73..d8fdda8e4a7cc 100644 --- a/src/java.net.http/share/classes/jdk/internal/net/http/quic/QuicConnectionImpl.java +++ b/src/java.net.http/share/classes/jdk/internal/net/http/quic/QuicConnectionImpl.java @@ -428,7 +428,7 @@ public static String toString(int state) { } /** - * A {link QuicTimedEvent} used to interrupt the handshake + * A {@link QuicTimedEvent} used to interrupt the handshake * if no response to the first initial packet is received within * a reasonable delay (default is ~ 30s). * This avoids waiting more than 30s for ConnectionException diff --git a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/CompilerToVM.java b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/CompilerToVM.java index ee578cfd5f170..f9fbadd5e5e3a 100644 --- a/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/CompilerToVM.java +++ b/src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/CompilerToVM.java @@ -484,7 +484,7 @@ int getNumIndyEntries(HotSpotConstantPool constantPool) { /** * Resolves the details for invoking the bootstrap method associated with the - * {@code CONSTANT_Dynamic_info} or @{code CONSTANT_InvokeDynamic_info} entry at {@code cpi} in + * {@code CONSTANT_Dynamic_info} or {@code CONSTANT_InvokeDynamic_info} entry at {@code cpi} in * {@code constant pool}. * * The return value encodes the details in an object array that is described by the pseudo Java @@ -512,17 +512,17 @@ Object[] resolveBootstrapMethod(HotSpotConstantPool constantPool, int cpi) { /** * Gets the constant pool index of a static argument of a {@code CONSTANT_Dynamic_info} or - * @{code CONSTANT_InvokeDynamic_info} entry. Used when the list of static arguments in the + * {@code CONSTANT_InvokeDynamic_info} entry. Used when the list of static arguments in the * {@link BootstrapMethodInvocation} is a {@code List} of the form * {{@code arg_count}, {@code pool_index}}, meaning the arguments are not already resolved and that * the JDK has to lookup the arguments when they are needed. The {@code cpi} corresponds to * {@code pool_index} and the {@code index} has to be smaller than {@code arg_count}. * * The behavior of this method is undefined if {@code cpi} does not denote an entry representing - * a {@code CONSTANT_Dynamic_info} or a @{code CONSTANT_InvokeDynamic_info}, or if the index + * a {@code CONSTANT_Dynamic_info} or a {@code CONSTANT_InvokeDynamic_info}, or if the index * is out of bounds. * - * @param cpi the index of a {@code CONSTANT_Dynamic_info} or @{code CONSTANT_InvokeDynamic_info} entry + * @param cpi the index of a {@code CONSTANT_Dynamic_info} or {@code CONSTANT_InvokeDynamic_info} entry * @param index the index of the static argument in the list of static arguments * @return the constant pool index associated with the static argument */ diff --git a/test/jdk/tools/jar/JarExtractTest.java b/test/jdk/tools/jar/JarExtractTest.java index f1d30e678ae41..46066f7940599 100644 --- a/test/jdk/tools/jar/JarExtractTest.java +++ b/test/jdk/tools/jar/JarExtractTest.java @@ -185,7 +185,7 @@ public void testExtractToAbsoluteDir(final String dest) throws Exception { } /** - * Extracts a jar to various normalized paths (i.e. no {@code .} or @{code ..} in the path components), + * Extracts a jar to various normalized paths (i.e. no {@code .} or {@code ..} in the path components), * using the -C/--dir option and then verifies that the extracted content is at the expected locations * with the correct content */ diff --git a/test/lib/jdk/test/lib/TimeLimitedRunner.java b/test/lib/jdk/test/lib/TimeLimitedRunner.java index cea92f344058b..4bd3b63ad066a 100644 --- a/test/lib/jdk/test/lib/TimeLimitedRunner.java +++ b/test/lib/jdk/test/lib/TimeLimitedRunner.java @@ -59,7 +59,7 @@ public TimeLimitedRunner(long timeout, double factor, } /** - * Runs @{linkplan target} while it returns true and timeout isn't exceeded + * Runs {@linkplain #target} while it returns true and timeout isn't exceeded */ @Override public Void call() throws Exception {