Skip to content

Commit

Permalink
Correct module resolution and fix javadoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Apr 26, 2022
1 parent d05c47d commit 4c470e2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion byte-buddy-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@
<exports>${packages.list}</exports>
<requires>java.instrument</requires>
<static-requires>
java.management,
jdk.attach,
com.sun.jna,
com.sun.jna.platform
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,9 @@ public String resolve() {
}

/**
* A process provider for a legacy VM that reads the process id from its JMX properties.
* A process provider for a legacy VM that reads the process id from its JMX properties. This strategy
* is only used prior to Java 9 such that the <i>java.management</i> module never is resolved, even if
* the module system is used, as the module system was not available in any relevant JVM version.
*/
protected enum ForLegacyVm implements ProcessProvider {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public boolean isNativeImageExecution() {
}

/**
* A privileged action to resolve the image code via
* A privileged action to resolve the image code via the current JVM processes input arguments, if available.
*/
protected enum ImageCodeContextAction implements PrivilegedAction<GraalImageCode> {

Expand Down

0 comments on commit 4c470e2

Please sign in to comment.