mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8289399: Update SourceVersion to use snippets
Reviewed-by: jjg, iris
This commit is contained in:
parent
1504804896
commit
dbc6e11010
@ -619,7 +619,8 @@ public enum SourceVersion {
|
||||
* {@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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user