You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use runtime java home for third party audit task (#91412) (#91432)
We actually do indeed need to use the runtime Java for this task
because depending on the target version, we may be loading classes
for a later Java version. For example, if we use dependencies that are
MR jars, then we in fact do load different classes depending on the
runtime Java version. To test this properly then we need to use the
target Java version to actually execute the task so it can both load
the newer classes, and any classes from any newer APIs present in the
later Java version.
Copy file name to clipboardExpand all lines: build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditPrecommitPlugin.java
0 commit comments