Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
8289399: Update SourceVersion to use snippets
Browse files Browse the repository at this point in the history
Reviewed-by: jjg, iris
  • Loading branch information
jddarcy committed Jun 29, 2022
1 parent 1504804 commit dbc6e11
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -619,7 +619,8 @@ public static boolean isKeyword(CharSequence s, SourceVersion version) {
* {@code "17"}, to the corresponding source version, {@code
* RELEASE_17}, is:
*
* <pre>{@code SourceVersion.valueOf(Runtime.Version.parse("17"))}</pre>
* {@snippet lang="java" :
* SourceVersion.valueOf(Runtime.Version.parse("17"))}
*
* @param rv runtime version to map to a source version
* @throws IllegalArgumentException if the feature of version
Expand Down

1 comment on commit dbc6e11

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.