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-8306112 Implementation of JEP 445: Unnamed Classes and Instance Main Methods (Preview) #13689

Closed
wants to merge 56 commits into from

Conversation

JimLaskey
Copy link
Member

@JimLaskey JimLaskey commented Apr 27, 2023

Add flexible main methods and anonymous main classes to the Java language.


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Change requires CSR request JDK-8308916 to be approved
  • Commit message must refer to an issue
  • Change requires CSR request JDK-8306113 to be approved
  • Change requires CSR request JDK-8308831 to be approved

Issues

  • JDK-8306112: Implementation of JEP 445: Unnamed Classes and Instance Main Methods (Preview)
  • JDK-8308613: javax.lang.model updates for JEP 445 (preview)
  • JDK-8308913: Update core reflection for JEP 445 (preview)
  • JDK-8308916: Update core reflection for JEP 445 (preview) (CSR)
  • JDK-8308831: javax.lang.model updates for JEP 445 (preview) (CSR)
  • JDK-8306113: Implementation for JEP 445: Unnamed Classes and Instance Main Methods (Preview) (CSR)

Reviewers

Contributors

  • Maurizio Cimadamore <mcimadamore@openjdk.org>
  • Joe Darcy <darcy@openjdk.org>
  • Jan Lahoda <jlahoda@openjdk.org>
  • Jim Laskey <jlaskey@openjdk.org>
  • Adam Sotona <asotona@openjdk.org>

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/13689/head:pull/13689
$ git checkout pull/13689

Update a local copy of the PR:
$ git checkout pull/13689
$ git pull https://git.openjdk.org/jdk.git pull/13689/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 13689

View PR using the GUI difftool:
$ git pr show -t 13689

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/13689.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Apr 27, 2023

👋 Welcome back jlaskey! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk openjdk bot added csr Pull request needs approved CSR before integration rfr Pull request is ready for review labels Apr 27, 2023
@openjdk
Copy link

openjdk bot commented Apr 27, 2023

@JimLaskey The following labels will be automatically applied to this pull request:

  • build
  • compiler
  • core-libs
  • hotspot-runtime

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.

@openjdk openjdk bot added hotspot-runtime hotspot-runtime-dev@openjdk.org build build-dev@openjdk.org core-libs core-libs-dev@openjdk.org compiler compiler-dev@openjdk.org labels Apr 27, 2023
@jddarcy
Copy link
Member

jddarcy commented Apr 27, 2023

I assume future iterations of the PR will include handling and tests for the main class attribute of jar files.

@JimLaskey
Copy link
Member Author

/help contributor

@openjdk
Copy link

openjdk bot commented Jun 5, 2023

@JimLaskey Available commands:

  • backport - create a backport
  • cc - add or remove an additional classification label
  • clean - Mark the backport pull request as a clean backport
  • contributor - adds or removes additional contributors for a PR
  • covered - used when employer has signed the OCA
  • csr - require a compatibility and specification request (CSR) for this pull request
  • help - shows this text
  • integrate - performs integration of the changes in the PR
  • issue - edit the list of issues that this PR solves
  • jep - require a JDK Enhancement Proposal (JEP) for this pull request
  • label - add or remove an additional classification label
  • open - Set the pull request state to "open"
  • reviewer - manage additional reviewers for a PR
  • reviewers - set the number of additional required reviewers for this PR
  • signed - used after signing the OCA
  • solves - edit the list of issues that this PR solves
  • sponsor - performs integration of a PR that is authored by a non-committer
  • summary - updates the summary in the commit message
  • test - used to run tests

@JimLaskey
Copy link
Member Author

/contributor add lahodaj

@JimLaskey
Copy link
Member Author

/contributor add jddarcy

@JimLaskey
Copy link
Member Author

/contributor add mcimadamore

@openjdk
Copy link

openjdk bot commented Jun 5, 2023

@JimLaskey lahodaj was not found in the census.

Syntax: /contributor (add|remove) [@user | openjdk-user | Full Name <email@address>]. For example:

  • /contributor add @openjdk-bot
  • /contributor add duke
  • /contributor add J. Duke <duke@openjdk.org>

User names can only be used for users in the census associated with this repository. For other contributors you need to supply the full name and email address.

@openjdk
Copy link

openjdk bot commented Jun 5, 2023

@JimLaskey jddarcy was not found in the census.

Syntax: /contributor (add|remove) [@user | openjdk-user | Full Name <email@address>]. For example:

  • /contributor add @openjdk-bot
  • /contributor add duke
  • /contributor add J. Duke <duke@openjdk.org>

User names can only be used for users in the census associated with this repository. For other contributors you need to supply the full name and email address.

@openjdk
Copy link

openjdk bot commented Jun 5, 2023

@JimLaskey
Contributor Maurizio Cimadamore <mcimadamore@openjdk.org> successfully added.

@JimLaskey
Copy link
Member Author

/contributor add darcy

@JimLaskey
Copy link
Member Author

/contributor add lahoda

@openjdk
Copy link

openjdk bot commented Jun 5, 2023

@JimLaskey
Contributor Joe Darcy <darcy@openjdk.org> successfully added.

@openjdk
Copy link

openjdk bot commented Jun 5, 2023

@JimLaskey lahoda was not found in the census.

Syntax: /contributor (add|remove) [@user | openjdk-user | Full Name <email@address>]. For example:

  • /contributor add @openjdk-bot
  • /contributor add duke
  • /contributor add J. Duke <duke@openjdk.org>

User names can only be used for users in the census associated with this repository. For other contributors you need to supply the full name and email address.

@JimLaskey
Copy link
Member Author

/contributor add jlahoda

@openjdk
Copy link

openjdk bot commented Jun 5, 2023

@JimLaskey
Contributor Jan Lahoda <jlahoda@openjdk.org> successfully added.

@JimLaskey
Copy link
Member Author

/contributor add jlaskey

@openjdk
Copy link

openjdk bot commented Jun 5, 2023

@JimLaskey
Contributor Jim Laskey <jlaskey@openjdk.org> successfully added.

@JimLaskey
Copy link
Member Author

/contributor add asotona

@openjdk
Copy link

openjdk bot commented Jun 5, 2023

@JimLaskey
Contributor Adam Sotona <asotona@openjdk.org> successfully added.

@JimLaskey
Copy link
Member Author

/integrate

@openjdk
Copy link

openjdk bot commented Jun 5, 2023

Going to push as commit 98b53c0.
Since your change was applied there have been 4 commits pushed to the master branch:

  • e970ddb: 8309170: CDS archive heap is always relocated for larger heap
  • 4b8922f: 8308842: Consolidate exceptions thrown from Class-File API
  • 2b38343: 8309416: Misstatement in semantics of methods in javax.lang.model.ElementFilter
  • 73352b6: 8280994: [XWayland] Drag and Drop does not work in java -> wayland app direction

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Jun 5, 2023
@openjdk openjdk bot closed this Jun 5, 2023
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Jun 5, 2023
@openjdk
Copy link

openjdk bot commented Jun 5, 2023

@JimLaskey Pushed as commit 98b53c0.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build build-dev@openjdk.org compiler compiler-dev@openjdk.org core-libs core-libs-dev@openjdk.org integrated Pull request has been integrated
10 participants