GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Set Guice class loading to CHILD - avoid using terminally deprecated methods by slawekjaranowski · Pull Request #11003 · apache/maven

Conversation

@slawekjaranowski

@slawekjaranowski slawekjaranowski commented Jul 25, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Default Guice class loading uses a terminally deprecated JDK memory-access classes.

Fix #10312

ITs

  • Set Guice class loading to CHILD - avoid using terminally deprecated methods - ITs maven-integration-testing#408

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@slawekjaranowski
Set Guice class loading to CHILD - avoid using terminally deprecated …
0704832
…methods

Default Guice class loading uses a terminally deprecated JDK memory-access classes.

Fix apache#10312
@slawekjaranowski slawekjaranowski added bug Something isn't working mvn3 labels Jul 25, 2025
@slawekjaranowski
slawekjaranowski requested a review from gnodet July 25, 2025 14:16
@slawekjaranowski slawekjaranowski self-assigned this Jul 25, 2025
gnodet
gnodet approved these changes Aug 5, 2025
View reviewed changes

@gnodet gnodet left a comment

Copy link
Copy Markdown
Contributor

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.

I'm slightly worried about bringing such changes in Maven 3 though...

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
cstamas
cstamas approved these changes Aug 5, 2025
View reviewed changes
slachiewicz
slachiewicz approved these changes Aug 6, 2025
View reviewed changes
@slawekjaranowski

slawekjaranowski commented Aug 10, 2025

Copy link
Copy Markdown
Member Author

I'm slightly worried about bringing such changes in Maven 3 though...

should be ok, open a way to use a Maven 3 even in newer JDKs without warnings

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@slawekjaranowski
slawekjaranowski merged commit 1f97959 into apache:maven-3.9.x Aug 10, 2025
@slawekjaranowski
slawekjaranowski deleted the gh-10312-3.9.x branch August 10, 2025 09:16
@github-actions github-actions Bot added this to the 3.9.12 milestone Aug 10, 2025
@linghengqian linghengqian mentioned this pull request Aug 16, 2025
Set Guice class loading to CHILD - avoid using terminally deprecated methods #10992
Merged
@slawekjaranowski slawekjaranowski linked an issue Aug 16, 2025 that may be closed by this pull request
[MNG-8760] WARNING: A terminally deprecated method in sun.misc.Unsafe has been called - staticFieldBase in guice #10312
Closed
@cstamas cstamas mentioned this pull request Sep 3, 2025
Maven uses guice, which uses deprecated Unsafe methods #11094
Closed
@ettavolt ettavolt mentioned this pull request Sep 17, 2025
[MNG-8721] Prints Warnings about JANSI when running on JDK 24 #10360
Closed
@mbien mbien mentioned this pull request Dec 13, 2025
Update bundled maven to 3.9.12 apache/netbeans#9084
Merged
@linghengqian linghengqian mentioned this pull request Dec 19, 2025
Fix nativeTest under GraalVM Native Image with clickhouse-server 25.12 apache/shardingsphere#37440
Merged
6 of 7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cstamas cstamas cstamas approved these changes
@gnodet gnodet gnodet approved these changes
@slachiewicz slachiewicz slachiewicz approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@slawekjaranowski slawekjaranowski

Labels

bug Something isn't working mvn3

Projects

None yet

Milestone

3.9.12

Development

Successfully merging this pull request may close these issues.

[MNG-8760] WARNING: A terminally deprecated method in sun.misc.Unsafe has been called - staticFieldBase in guice

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@slawekjaranowski @cstamas @gnodet @slachiewicz
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.