Skip to content
Closed
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
2 changes: 1 addition & 1 deletion src/jdk.jfr/share/classes/jdk/jfr/AnnotationElement.java
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ private static void checkType(Class<?> type) {
throw new IllegalArgumentException("Only primitives types or java.lang.String are allowed");
}

// Whitelist of annotation classes that are allowed, even though
// List of annotation classes that are allowed, even though
// they don't have @MetadataDefinition.
private static boolean isKnownJFRAnnotation(Class<? extends Annotation> annotationType) {
if (annotationType == Registered.class) {
Expand Down