Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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.
* <p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<PrimitiveConstant>} 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
*/
Expand Down
2 changes: 1 addition & 1 deletion test/jdk/tools/jar/JarExtractTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 1 addition & 1 deletion test/lib/jdk/test/lib/TimeLimitedRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down