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

OpenJDK11 fix: Avoid runFinalizersOnExit in DO_TIMING #36

Merged
merged 6 commits into from
Dec 7, 2020

Conversation

stain
Copy link
Member

@stain stain commented Dec 7, 2020

Disable DO_TIMING blocks for OpenJDK 11 support

The code would no longer compile as long deprecated System.runFinalizersOnExit was removed by JDK-8198249 in Open JDK 11.

As using this timing requires code modification and was never used "live" in this patch I added a /* UNCOMMENT */ comment block around the offending code - it can be enabled if compiling on Open JDK 8.

Based on #15 by @rleigh-codelibre

stain added 6 commits December 7, 2020 11:53
The code will not compile as long deprecated
System.runFinalizersOnExit
was removed by JDK-8198249 in Open JDK 11.

As using this timing requires code
modification and was never used "live" in this patch I added a /*
UNCOMMENT  */ comment block around the offending code - it can be
enabled if compiling on Open JDK 8.

Based on #15 by @rleigh-codelibre
@stain stain merged commit 2735c67 into master Dec 7, 2020
@stain stain deleted the avoid-runFinalizersOnExit branch December 7, 2020 13:43
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