Skip to content
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

JDK 21 support, consistent Zinc analysis format, Zinc classloader improvements, lots of upgrades #44

Closed
wants to merge 21 commits into from

Conversation

jjudd
Copy link

@jjudd jjudd commented Jul 3, 2024

No description provided.

James Judd added 15 commits June 19, 2024 18:56
They did not add the remotejdk_21 target from bazel_tools and instead
are recommending people use rules_java instead.
The JDK deprecated the SecurityManager: https://openjdk.org/jeps/411

In JDK 18+ accessing the SecurityManager throws an
UnsupportedOperationException.

There is no alternative way to trap JVM exits and prevent them. There is
a ticket for the JDK to add a way to do this
https://bugs.openjdk.org/browse/JDK-8199704

sbt ran into this same issue and resovled it just by not trapping exits
anymore
sbt/sbt#6665
sbt/sbt#6558
The ClassLoaders were mostly correct, but this should get things the
rest of the way to being correct. Or at least similarly correct to Zinc
and Bloop.
Bring back our read write mappers, so things are machine independent and
timestamps don't cause problems.
@jjudd jjudd force-pushed the jdk-21-support branch from 80fa4bb to b540e61 Compare July 5, 2024 03:38
…ility problems

Consistent text format deserialization has a problem, so that's why I'm
adding the additional output for now. Will remove it once I've figured
out what is going on.
@jjudd jjudd force-pushed the jdk-21-support branch from fbe7b5c to eb2991a Compare July 5, 2024 17:55
James Judd added 2 commits July 6, 2024 17:35
annex_3 is unnecessary and using it can cause multiple Scala 2 library
jars to end up on the classpath
…roblems

It's not totally certain whether the determinism issues come from the
intersection of our AnnexScalaInstance + the CloassLoaderCache or from
the ClassLoaderCache cache itself.
@jjudd jjudd force-pushed the jdk-21-support branch from 18d9014 to 99c7318 Compare July 7, 2024 01:56
@jjudd jjudd force-pushed the jdk-21-support branch 2 times, most recently from 641d29a to 543fdbe Compare July 7, 2024 04:54
@jjudd jjudd force-pushed the jdk-21-support branch from 543fdbe to de8015f Compare July 7, 2024 05:15
@jjudd jjudd closed this Jul 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant