Skip to content

Commit 7956b00

Browse files
authored
Merge pull request #360 from hunterwb/master
Fix Java 9 Runtime.Version Javadoc references
2 parents d401bbb + 1b7a188 commit 7956b00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

byte-buddy-dep/src/main/java/net/bytebuddy/ClassFileVersion.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ class ForJava9CapableVm implements VersionLocator {
331331
private static final Object STATIC_METHOD = null;
332332

333333
/**
334-
* The {@code java java.lang.Runtime#current()} method.
334+
* The {@code java.lang.Runtime#version()} method.
335335
*/
336336
private final Method current;
337337

@@ -343,7 +343,7 @@ class ForJava9CapableVm implements VersionLocator {
343343
/**
344344
* Creates a new version locator for a Java 9 capable VM.
345345
*
346-
* @param current The {@code java.lang.Runtime#current()} method.
346+
* @param current The {@code java.lang.Runtime#version()} method.
347347
* @param major The {@code java.lang.Runtime.Version#major()} method.
348348
*/
349349
protected ForJava9CapableVm(Method current, Method major) {
@@ -364,7 +364,7 @@ public ClassFileVersion locate() {
364364
}
365365

366366
/**
367-
* A version locator for a JVM that does not provide the {@code jdk.Version} class.
367+
* A version locator for a JVM that does not provide the {@code java.lang.Runtime.Version} class.
368368
*/
369369
enum ForLegacyVm implements VersionLocator, PrivilegedAction<String> {
370370

0 commit comments

Comments
 (0)