Skip to content

8379424: [11u] Update SSL tests using SSLEngineTemplate#110

Closed
vieiro wants to merge 1 commit intoopenjdk:masterfrom
vieiro:backports/JDK-8379424
Closed

8379424: [11u] Update SSL tests using SSLEngineTemplate#110
vieiro wants to merge 1 commit intoopenjdk:masterfrom
vieiro:backports/JDK-8379424

Conversation

@vieiro
Copy link
Copy Markdown
Contributor

@vieiro vieiro commented Mar 11, 2026

This fixes different security tests reported in JDK-8379424.

Tests extending SSLEngineTemplate will need to use the Utils class in /test/lib (which provides a ByteBuffer.slice(int, int) for JDK11), so the base class compiles correctly with JTReg. This is a test-only change.

All security tests pass now:

==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR   
   jtreg:test/jdk:jdk_security                        1368  1368     0     0   
==============================
TEST SUCCESS

Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8379424 needs maintainer approval

Issue

  • JDK-8379424: [11u] Update SSL tests using SSLEngineTemplate (Bug - P4 - Approved)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 110

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk11u/pull/110.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link
Copy Markdown

bridgekeeper bot commented Mar 11, 2026

👋 Welcome back avieiro! 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
Copy Markdown

openjdk bot commented Mar 11, 2026

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

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

8379424: [11u] Update SSL tests using SSLEngineTemplate

Reviewed-by: sgehwolf, andrew

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 no new commits pushed to the master branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential 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 the rfr Pull request is ready for review label Mar 11, 2026
@mlbridge
Copy link
Copy Markdown

mlbridge bot commented Mar 11, 2026

Webrevs

Copy link
Copy Markdown
Contributor

@jerboaa jerboaa left a comment

Choose a reason for hiding this comment

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

Looks good.

@openjdk
Copy link
Copy Markdown

openjdk bot commented Mar 11, 2026

⚠️ @vieiro This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@vieiro
Copy link
Copy Markdown
Contributor Author

vieiro commented Mar 11, 2026

/approval request Please consider approving this fix to some security tests, that were failing after the test templates were updated with a new Utility class in the /test/lib library. All security tests pass now.

@openjdk
Copy link
Copy Markdown

openjdk bot commented Mar 11, 2026

@vieiro
8379424: The approval request has been created successfully.

@openjdk openjdk bot added the approval Requires approval; will be removed when approval is received label Mar 11, 2026
@jerboaa
Copy link
Copy Markdown
Contributor

jerboaa commented Mar 11, 2026

I'll let @gnu-andrew handle approval for this one.

Copy link
Copy Markdown
Member

@gnu-andrew gnu-andrew left a comment

Choose a reason for hiding this comment

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

Looks good to me too. Good to see the SunEC case handled by fixing the policy.

@gnu-andrew
Copy link
Copy Markdown
Member

/approve yes

@openjdk
Copy link
Copy Markdown

openjdk bot commented Mar 13, 2026

@gnu-andrew
8379424: The approval request has been approved.

@openjdk openjdk bot added ready Pull request is ready to be integrated and removed approval Requires approval; will be removed when approval is received labels Mar 13, 2026
@vieiro
Copy link
Copy Markdown
Contributor Author

vieiro commented Mar 13, 2026

/integrate

@openjdk
Copy link
Copy Markdown

openjdk bot commented Mar 13, 2026

Going to push as commit 85846f7.

@openjdk openjdk bot added the integrated Pull request has been integrated label Mar 13, 2026
@openjdk openjdk bot closed this Mar 13, 2026
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Mar 13, 2026
@openjdk
Copy link
Copy Markdown

openjdk bot commented Mar 13, 2026

@vieiro Pushed as commit 85846f7.

💡 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

integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

3 participants