RFR: JDK-8251193 bin/idea.sh generating wrong source folders for JVMCI modules
maurizio.cimadamore at oracle.com
Thu Aug 6 15:01:54 UTC 2020
The basic fix looks good, I'm wondering, however, if we would only want
to enable sources which match the current configuration? E.g. not add
the sources for aarch64 if building on linux? But if we build all these
modules regardless, then it's ok to add them all.
On 06/08/2020 15:28, Galder Zamarreno wrote:
> `bin/idea.sh` is not generating the right source folders for
> jdk.internal.vm.ci and jdk.internal.vm.compiler modules.
> These modules have different directory structures to the rest and so should
> be handled exceptionally so that the IDE has the right source folder
> The fix takes these two modules, inspects all the subdirectories within
> each module root and generates a source folder definition for each. As
> example, for jdk.internal.vm.ci, there should be a source folder for:
> * src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.aarch64/src
> * src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.amd64/src
> * ...
> I've tested this in the patch on IDEA 2020.2.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8251193
More information about the ide-support-dev