Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[export] JPMS module info calculation fails
There was a recent change dd2f0c5 that took a shortcut to calculate the embedded packages unconditionally. It used the bundle class path analysis to analyze all the jars in the executable. However, this significantly slows down Eclipse but worse, it then tries to reinterpret the annotation headers. In my case, I got 3 types on the Bundle-Activator. The analysis should only be done when it is needed and I'd suggest to do it either in a separate Builder or try to analyze the manifests for speedup. This patch just makes the analysis conditional but that is a temporary fix to make it compatible with the the previous code. This needs to be cherry picked for 6.3.0 since it is a very serious regression. Fixes #5257 Signed-off-by: Peter Kriens <Peter.Kriens@aqute.biz> Signed-off-by: BJ Hargrave <bj@hargrave.dev>
- Loading branch information