-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Update BlockHound version to be compatible with JDK 17 #3771
Conversation
* Also, exclude integration from docs, it shouldn't be there Fixes #3701
Note: it doesn't work with JDK 20+ though |
@@ -10,6 +10,9 @@ import kotlinx.coroutines.scheduling.* | |||
import reactor.blockhound.* | |||
import reactor.blockhound.integration.* | |||
|
|||
/** | |||
* @suppress |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seeing this, I began to wonder whether we should document the class instead since it is possible to sidestep the ServiceLoader
mechanism with BlockHound and apply the integrations manually, but it looks like nobody actually uses the integration by name (https://github.com/search?q=CoroutinesBlockHoundIntegration&type=code), and it's not expected that the integrations will be documented (https://github.com/reactor/BlockHound/tree/master/agent/src/main/java/reactor/blockhound/integration), so ok.
@@ -10,6 +10,9 @@ import kotlinx.coroutines.scheduling.* | |||
import reactor.blockhound.* | |||
import reactor.blockhound.integration.* | |||
|
|||
/** | |||
* @suppress |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seeing this, I began to wonder whether we should document the class instead since it is possible to sidestep the ServiceLoader
mechanism with BlockHound and apply the integrations manually, but it looks like nobody actually uses the integration by name (https://github.com/search?q=CoroutinesBlockHoundIntegration&type=code), and it's not expected that the integrations will be documented (https://github.com/reactor/BlockHound/tree/master/agent/src/main/java/reactor/blockhound/integration), so ok.
Fixes #3701