From 3c6459e1de9e75898a1b32a95acf684050fbe1af Mon Sep 17 00:00:00 2001 From: Adam Sotona Date: Mon, 11 Dec 2023 10:08:42 +0000 Subject: [PATCH] 8321641: ClassFile ModuleAttribute.ModuleAttributeBuilder::moduleVersion spec contains a copy-paste error Reviewed-by: alanb --- .../classes/java/lang/classfile/attribute/ModuleAttribute.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java.base/share/classes/java/lang/classfile/attribute/ModuleAttribute.java b/src/java.base/share/classes/java/lang/classfile/attribute/ModuleAttribute.java index 05c1e792d9e..721719d2851 100644 --- a/src/java.base/share/classes/java/lang/classfile/attribute/ModuleAttribute.java +++ b/src/java.base/share/classes/java/lang/classfile/attribute/ModuleAttribute.java @@ -202,7 +202,7 @@ public sealed interface ModuleAttribute } /** - * Sets the module flags + * Sets the module version * @param version the module version * @return this builder */