-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
8342486: Implement JEP draft: Structured Concurrency (Fourth Preview) #21760
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back alanb! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
@AlanBateman The following labels will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command. |
/label compiler remove |
@AlanBateman
|
/label remove compiler |
@AlanBateman |
/contributor add @AlanBateman |
@AlanBateman |
@AlanBateman |
* @since 21 | ||
*/ | ||
@PreviewFeature(feature = PreviewFeature.Feature.STRUCTURED_CONCURRENCY) | ||
public class StructuredTaskScope<T> implements AutoCloseable { | ||
private final ThreadFactory factory; | ||
public class StructuredTaskScope<T, R> implements AutoCloseable { |
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.
This class can be final
given that it only has private
constructors.
public class StructuredTaskScope<T, R> implements AutoCloseable { | |
public final class StructuredTaskScope<T, R> implements AutoCloseable { |
Work in progress.
Progress
Issues
Contributors
<[email protected]>
<[email protected]>
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/21760/head:pull/21760
$ git checkout pull/21760
Update a local copy of the PR:
$ git checkout pull/21760
$ git pull https://git.openjdk.org/jdk.git pull/21760/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 21760
View PR using the GUI difftool:
$ git pr show -t 21760
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/21760.diff