Skip to content

Bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.6 to 3.6.1 in /lang/java - #4073

Merged
Fokko merged 2 commits into
mainfrom
dependabot/maven/lang/java/org.apache.maven.plugins-maven-surefire-plugin-3.6.1
Nov 10, 2026
Merged

Fokko merged 2 commits into
mainfrom
dependabot/maven/lang/java/org.apache.maven.plugins-maven-surefire-plugin-3.6.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps org.apache.maven.plugins:maven-surefire-plugin from 3.5.6 to 3.6.1.

Release notes

Sourced from org.apache.maven.plugins:maven-surefire-plugin's releases.

3.6.1

🚀 New features and improvements

🐛 Bug Fixes

📝 Documentation updates

  • Clean up deprecated parameters and fix TestNG parallel modes (#3452) (#3519) @​olamy
  • Merge the two timeout extension pages into one. The guide and the example page covered the same things twice. (#3520) @​olamy
  • Drop the Source Xref menu items (#3479) @​slachiewicz

👻 Maintenance

🔧 Build

... (truncated)

Commits
  • 5bf0dcf [maven-release-plugin] prepare release surefire-3.6.1
  • 7f73580 Bump doxiaVersion from 2.1.0 to 2.2.0 (#3542)
  • ab7ce2f Bump org.testng:testng (#3539)
  • ff3b768 Group module path heuristics in ModulePathJpmsArguments (#3541)
  • a343e4d Fix IllegalAccessError when the main module requires JUnit (#3532) (#3538)
  • 907a2e2 Fix groups and excludedGroups being ignored when TestNG is on the classpath (...
  • cc69b3c Use push for PR Automation
  • b119019 Install the JUnit Platform provider for the ITs (#3535)
  • 2cdec2e Don't let runOrder replace JUnit orderers set elsewhere (#3529) (#3530)
  • 1e4f6b9 Use workflow_run for PR check (#3531)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file Java Pull Requests for Java binding labels Nov 1, 2026
@github-actions github-actions Bot added build and removed Java Pull Requests for Java binding labels Nov 1, 2026
@dependabot
dependabot Bot force-pushed the dependabot/maven/lang/java/org.apache.maven.plugins-maven-surefire-plugin-3.6.1 branch from a2bbdcb to 4e92cdd Compare November 9, 2026 02:51
dependabot Bot and others added 2 commits November 9, 2026 19:46
Bumps [org.apache.maven.plugins:maven-surefire-plugin](https://github.com/apache/maven-surefire) from 3.5.6 to 3.6.1.
- [Release notes](https://github.com/apache/maven-surefire/releases)
- [Commits](apache/maven-surefire@surefire-3.5.6...surefire-3.6.1)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-surefire-plugin
  dependency-version: 3.6.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
The testNotSerializableClasses assertion relied on SpecificData.get()
having an empty class-resolution cache: when another test in the class
(or a previously-run test) already resolved TestUnionRecord, the
security validator never fired and no SecurityException was thrown.
Surefire 3.6.x runs the tests in a different order, exposing this.

Use a fresh SpecificData instance for the reader so the class lookup
genuinely goes through the security validator.
@Fokko
Fokko force-pushed the dependabot/maven/lang/java/org.apache.maven.plugins-maven-surefire-plugin-3.6.1 branch from 4e92cdd to a2a10c8 Compare November 9, 2026 19:54
@Fokko

Fokko commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Pushed a fix for the failing TestSpecificRecordWithUnion.testNotSerializableClasses: the assertion relied on SpecificData.get() having an empty class-resolution cache — under surefire 3.6.x the test order changed, TestUnionRecord was already resolved, so the security validator never fired. The test now uses a fresh SpecificData instance so the lookup genuinely goes through the validator. Full avro module suite: 3460 tests, 0 failures locally.

@github-actions github-actions Bot added the Java Pull Requests for Java binding label Nov 9, 2026
@Fokko
Fokko merged commit bd9fc08 into main Nov 10, 2026
9 checks passed
@dependabot
dependabot Bot deleted the dependabot/maven/lang/java/org.apache.maven.plugins-maven-surefire-plugin-3.6.1 branch November 10, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build dependencies Pull requests that update a dependency file Java Pull Requests for Java binding

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant