Skip to content

8370890: Start of release updates for JDK 27#28130

Closed
nizarbenalla wants to merge 24 commits intoopenjdk:masterfrom
nizarbenalla:start-of-release-27
Closed

8370890: Start of release updates for JDK 27#28130
nizarbenalla wants to merge 24 commits intoopenjdk:masterfrom
nizarbenalla:start-of-release-27

Conversation

@nizarbenalla
Copy link
Member

@nizarbenalla nizarbenalla commented Nov 4, 2025

Get JDK 27 underway.


Progress

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

Issues

  • JDK-8370890: Start of release updates for JDK 27 (Bug - P4)
  • JDK-8370893: Add SourceVersion.RELEASE_27 (Sub-task - P4)
  • JDK-8370894: Add source 27 and target 27 to javac (Sub-task - P4)
  • JDK-8371071: Add SourceVersion.RELEASE_27 (CSR)
  • JDK-8371062: Add source 27 and target 27 to javac (CSR)
  • JDK-8371068: Start of release updates for JDK 27 (CSR)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 28130

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Nov 4, 2025

👋 Welcome back nbenalla! 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
Copy link

openjdk bot commented Nov 4, 2025

@nizarbenalla This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8370890: Start of release updates for JDK 27
8370893: Add SourceVersion.RELEASE_27
8370894: Add source 27 and target 27 to javac

Reviewed-by: darcy, iris, liach, erikj, dholmes

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 3 new commits pushed to the master branch:

  • c432150: 8372809: Test vmTestbase/nsk/jdi/ThreadReference/isSuspended/issuspended001/TestDescription.java failed: JVMTI_ERROR_THREAD_NOT_ALIVE
  • af8977e: 8372951: The property jdk.httpclient.quic.maxBidiStreams should be renamed to jdk.internal
  • 6d5bf9c: 8372999: Parallel: Old generation min size constraint broken

Please see this link for an up-to-date comparison between the source branch of this pull request and the master branch.
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@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 Nov 4, 2025
@openjdk
Copy link

openjdk bot commented Nov 4, 2025

@nizarbenalla 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.

@nizarbenalla
Copy link
Member Author

/issue add 8370893
/issue add 8370894

@openjdk
Copy link

openjdk bot commented Nov 4, 2025

@nizarbenalla
Adding additional issue to issue list: 8370893: Add SourceVersion.RELEASE_27.

@openjdk
Copy link

openjdk bot commented Nov 4, 2025

@nizarbenalla
Adding additional issue to issue list: 8370894: Add source 27 and target 27 to javac.

@nizarbenalla
Copy link
Member Author

This initial version of the PR intentionally excludes the creation of the new symbol files so that the fundamental code aspects of the update are easier to see.

The GA release date is accurate.
The URL of the JVMLS will be updated in the next commit to be accurate.

@nizarbenalla nizarbenalla marked this pull request as ready for review November 4, 2025 12:18
@openjdk openjdk bot added the rfr Pull request is ready for review label Nov 4, 2025
@mlbridge
Copy link

mlbridge bot commented Nov 4, 2025

Copy link
Member

@jddarcy jddarcy left a comment

Choose a reason for hiding this comment

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

Looks fine so far.

Copy link
Member

@irisclark irisclark left a comment

Choose a reason for hiding this comment

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

Expected changes for JDK 27 looking good.

DEFAULT_VERSION_EXTRA3=0
DEFAULT_VERSION_DATE=2026-03-17
DEFAULT_VERSION_CLASSFILE_MAJOR=70 # "`$EXPR $DEFAULT_VERSION_FEATURE + 44`"
DEFAULT_VERSION_DATE=2026-09-15
Copy link
Member

Choose a reason for hiding this comment

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

Anticipated GA date confirmed.

@nizarbenalla
Copy link
Member Author

I had to make some changes to respect the 80 character limit we used to have.
Instead of showing a long list for the --release values in the javac help output we show the following:

  --target <release>, -target <release>
        Generate class files suitable for the specified Java SE release.
        Supported releases: 
            8, 9, 10, ..., 25, 26, 27

@openjdk openjdk bot removed the ready Pull request is ready to be integrated label Dec 2, 2025
Copy link
Member

@erikj79 erikj79 left a comment

Choose a reason for hiding this comment

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

Build changes look good.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Dec 2, 2025
* <cite>The Java Language Specification, Java SE 26 Edition</cite></a>
*/
RELEASE_26,

Copy link
Member

Choose a reason for hiding this comment

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

At the top of the file where the per-release changes are all listed, please add a

"27: tbd"

entry after syncing in the changes from mainline which add an entry for JDK 26. (Also, as part of the sync please fix the "in in" stutter typo in the 26 entry.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed in 4b14a75

Copy link
Member

@dholmes-ora dholmes-ora left a comment

Choose a reason for hiding this comment

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

Hotspot changes trivially fine.

@openjdk openjdk bot removed the ready Pull request is ready to be integrated label Dec 3, 2025
@nizarbenalla
Copy link
Member Author

/integrate delegate

@openjdk openjdk bot added the delegated May be integrated by another Committer label Dec 3, 2025
@openjdk
Copy link

openjdk bot commented Dec 3, 2025

@nizarbenalla Integration of this pull request has been delegated and may be completed by any project committer using the /integrate pull request command.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Dec 3, 2025
@JesperIRL
Copy link
Member

/integrate

@openjdk
Copy link

openjdk bot commented Dec 4, 2025

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

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Dec 4, 2025
@openjdk openjdk bot closed this Dec 4, 2025
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review delegated May be integrated by another Committer labels Dec 4, 2025
@openjdk
Copy link

openjdk bot commented Dec 4, 2025

@JesperIRL Pushed as commit c55287d.

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

@nizarbenalla nizarbenalla deleted the start-of-release-27 branch December 4, 2025 17:03
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 hotspot-runtime hotspot-runtime-dev@openjdk.org integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

8 participants