diff --git a/src/java.base/share/classes/java/lang/ClassCircularityError.java b/src/java.base/share/classes/java/lang/ClassCircularityError.java index c1b150005da9d..c87bd04072068 100644 --- a/src/java.base/share/classes/java/lang/ClassCircularityError.java +++ b/src/java.base/share/classes/java/lang/ClassCircularityError.java @@ -36,7 +36,7 @@ * @author unascribed * @since 1.0 */ -@AnnotatedFor({"nullnesss"}) +@AnnotatedFor({"nullness"}) public class ClassCircularityError extends LinkageError { private static final long serialVersionUID = 1054362542914539689L; diff --git a/src/java.base/share/classes/java/lang/InstantiationError.java b/src/java.base/share/classes/java/lang/InstantiationError.java index bc90c7bf5d211..acd35a7221c1d 100644 --- a/src/java.base/share/classes/java/lang/InstantiationError.java +++ b/src/java.base/share/classes/java/lang/InstantiationError.java @@ -42,7 +42,7 @@ */ -@AnnotatedFor({"nullable"}) +@AnnotatedFor({"nullness"}) public class InstantiationError extends IncompatibleClassChangeError { private static final long serialVersionUID = -4885810657349421204L; diff --git a/src/java.base/share/classes/java/lang/RuntimePermission.java b/src/java.base/share/classes/java/lang/RuntimePermission.java index d008cab68fc68..5b0631f973916 100644 --- a/src/java.base/share/classes/java/lang/RuntimePermission.java +++ b/src/java.base/share/classes/java/lang/RuntimePermission.java @@ -401,7 +401,7 @@ * @since 1.2 */ -@AnnotatedFor({"nullnes"}) +@AnnotatedFor({"nullness"}) public final class RuntimePermission extends BasicPermission { private static final long serialVersionUID = 7399184964622342223L; diff --git a/src/java.base/share/classes/java/lang/ThreadGroup.java b/src/java.base/share/classes/java/lang/ThreadGroup.java index 3f4cec81040c4..449d52217e456 100644 --- a/src/java.base/share/classes/java/lang/ThreadGroup.java +++ b/src/java.base/share/classes/java/lang/ThreadGroup.java @@ -63,7 +63,7 @@ * and working off of that snapshot, rather than holding the thread group locked * while we work on the children. */ -@AnnotatedFor({"index", "interning", "lock", "nullable"}) +@AnnotatedFor({"index", "interning", "lock", "nullness"}) public @UsesObjectEquals class ThreadGroup implements Thread.UncaughtExceptionHandler { private final ThreadGroup parent; diff --git a/src/java.base/share/classes/java/lang/Throwable.java b/src/java.base/share/classes/java/lang/Throwable.java index adc5d35d81bcb..f6b590d7f98d9 100644 --- a/src/java.base/share/classes/java/lang/Throwable.java +++ b/src/java.base/share/classes/java/lang/Throwable.java @@ -119,7 +119,7 @@ * @jls 11.2 Compile-Time Checking of Exceptions * @since 1.0 */ -@AnnotatedFor({"interning", "lock", "nullable"}) +@AnnotatedFor({"interning", "lock", "nullness"}) public @UsesObjectEquals class Throwable implements Serializable { /** use serialVersionUID from JDK 1.0.2 for interoperability */ private static final long serialVersionUID = -3042686055658047285L;