Integrated: 7904077: IDEA plugin: Plugin crashes when using newest Ant plug
Jorn Vernee
jvernee at openjdk.org
Mon Sep 8 16:53:08 UTC 2025
The jtreg plugins calls some methods from the ant plugin configuration classes. In the newest version of the ant plugin, one of these methods has been removed:
https://github.com/JetBrains/intellij-community/commit/265fee5a6e051d9d8f49403d48c5694a557e522c
This causes the jtreg plugin to crash with a NoSuchMethodError, and running tests is no longer possible.
The fix proposed by this patch is to use the `Project` instance we get from the jtreg configuration instance. They should point to the same object.
-------------
Commit messages:
- Update version and notes
- Don't use removed AnyConfigurationBase::getProject
Changes: https://git.openjdk.org/jtreg/pull/288/files
Webrev: https://webrevs.openjdk.org/?repo=jtreg&pr=288&range=00
Issue: https://bugs.openjdk.org/browse/CODETOOLS-7904077
Stats: 8 lines in 2 files changed: 2 ins; 0 del; 6 mod
Patch: https://git.openjdk.org/jtreg/pull/288.diff
Fetch: git fetch https://git.openjdk.org/jtreg.git pull/288/head:pull/288
PR: https://git.openjdk.org/jtreg/pull/288
More information about the jtreg-dev
mailing list