Integrated: 8318812: LauncherHelper.checkAndLoadMain closes jar file that's about to be re-opened
Christian Stein
cstein at openjdk.org
Tue Feb 20 07:04:58 UTC 2024
On Wed, 14 Feb 2024 11:03:07 GMT, Christian Stein <cstein at openjdk.org> wrote:
> Please review this PR that makes the launcher helper keep a reference to the executable JAR file active after extracting the name of the main class and returning it as Class instance. Now, when loading classes from the JAR file, it hasn't to be re-opened.
This pull request has now been integrated.
Changeset: 0d285312
Author: Christian Stein <cstein at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/0d285312a958c159d2efb8bd00fc29dd6a5a4d16
Stats: 96 lines in 2 files changed: 33 ins; 17 del; 46 mod
8318812: LauncherHelper.checkAndLoadMain closes jar file that's about to be re-opened
Reviewed-by: alanb, jpai, coffeys
-------------
PR: https://git.openjdk.org/jdk/pull/17843
More information about the core-libs-dev
mailing list