-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[GR-66090] [GR-65831] Update IGV to support JDK24 #11421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
1a7589a
to
45f1eee
Compare
Cannot Run IGV
Cannot Run Tests
Cannot Build on GraalVM 24
probably related to annotation processors being off by default on JDK24, if there was such a change... |
I was kind of ignoring the build on JDK 24 part as there are other issues there and we always build on an earlier release. It does seem like you have to explicitly enable annotation processing in JDK 24. I'll see if I can get that working. As we've discussed elsewhere, some of the unit tests will fail on JDK24 for reasons I don't understand, but it's not a major priority for IGV to build on JDK 24 so if those can't be resolved simply then I will them for now. |
Enabling proc:full lets it build on JDK 24 and it also seems to resolve the unit test failures I was seeing with FilterProfileAdapterTest. I'm guessing annotations within the unit tests weren't being process which led to the failures. Thanks for figuring this out! |
So the only remaining GraalVM 24 problem is that the |
45f1eee
to
b6f7174
Compare
So I think it's all working now. It runs IGV without extra arguments on GraalVM 24 and the unittest tests all pass on JDK 24. The annotation processing changes in JDK 24 seems to be causing build and unit test failures. I did have to include a workaround so that the unit tests would work on GraalVM JDK 24. |
I can confirm that: graal/visualizer/IdealGraphVisualizer$ git log | head -n1
commit b6f717429f60fcee3506ae0518ded1af709aeb73
graal/visualizer/IdealGraphVisualizer$ export JAVA_HOME=/graalvm-24/
graal/visualizer/IdealGraphVisualizer$ mvn clean install builds and tests OK. I can even start it with: graal/visualizer/IdealGraphVisualizer$ export JAVA_HOME=/graalvm-24/
graal/visualizer/IdealGraphVisualizer$ mvn -f application/ nbm:cluster-app nbm:run-platform and open |
No description provided.