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

Type Pollution JUnit tests #45038

Open
franz1981 opened this issue Dec 10, 2024 · 3 comments
Open

Type Pollution JUnit tests #45038

franz1981 opened this issue Dec 10, 2024 · 3 comments
Labels
area/housekeeping Issue type for generalized tasks not related to bugs or enhancements kind/enhancement New feature or request

Comments

@franz1981
Copy link
Contributor

Description

Hi, thanks to Micronaut folks, as you can see in FasterXML/jackson-databind#4848: they create an awesome way to verify that type pollution behaviours are under control - and they further improve the work I've done on the type pollution agent, to work with some quirks of the JVM.
I think we could use a similar approach (and use the same agent) to do the same - so we can help in case us or other third party library prove to be affected by this scalability issue, since its fix in JDK 23 will take some.

@geoand

Implementation ideas

No response

@franz1981 franz1981 added the kind/enhancement New feature or request label Dec 10, 2024
@geoand
Copy link
Contributor

geoand commented Dec 10, 2024

Very cool!

The only issue I see with this approach is that soon we will have to configure Maven Surefire to allow agent attach, in a similar was as shown here

@geoand geoand added area/housekeeping Issue type for generalized tasks not related to bugs or enhancements and removed triage/needs-triage labels Dec 10, 2024
@franz1981
Copy link
Contributor Author

I see in the PR they have done it - I think it is feasible WDYT?

@geoand
Copy link
Contributor

geoand commented Dec 10, 2024

Yeah, it should be doable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/housekeeping Issue type for generalized tasks not related to bugs or enhancements kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants