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

Drop EventStreamFacade #45605

Merged
merged 1 commit into from
Jan 15, 2025
Merged

Conversation

rsvoboda
Copy link
Member

Drop EventStreamFacade as it was needed for compilation on Java versions lower than 14, current baseline is Java 17

EventStreamFacade was needed for compilation on Java versions lower than 14, current baseline is Java 17
@rsvoboda rsvoboda requested a review from cescoffier January 15, 2025 08:07
state = State.INIT;
var end = System.nanoTime();
LOGGER.log(Level.FINE, "Event collector shutdown in {0}s", (end - begin) / 1000000);
recordingStream.close();
Copy link
Member Author

@rsvoboda rsvoboda Jan 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

facade tried to call stop method (tempStop = lookup.findVirtual(clazz, "stop", MethodType.methodType(boolean.class));), but that's not present in RecordingStream class

https://github.com/openjdk/jdk/blob/master/src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingStream.java#L351 says * To stop the stream, use the {@link #close()} method.

Copy link
Member

@cescoffier cescoffier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Copy link

quarkus-bot bot commented Jan 15, 2025

Status for workflow Quarkus CI

This is the status report for running Quarkus CI on commit 53e5b7d.

✅ The latest workflow run for the pull request has completed successfully.

It should be safe to merge provided you have a look at the other checks in the summary.

You can consult the Develocity build scans.

@gsmet gsmet merged commit 682bb54 into quarkusio:main Jan 15, 2025
22 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.18 - main milestone Jan 15, 2025
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.

3 participants