Skip to content

Polishing regarding JDK baseline upgrade #28440

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

Closed
wants to merge 12 commits into from

Conversation

aooohan
Copy link
Contributor

@aooohan aooohan commented May 10, 2022

No description provided.

@pivotal-cla
Copy link

@aooohan Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-cla
Copy link

@aooohan Thank you for signing the Contributor License Agreement!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label May 10, 2022
@sbrannen sbrannen self-assigned this May 10, 2022
@sbrannen sbrannen added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels May 10, 2022
Copy link
Member

@sbrannen sbrannen left a comment

Choose a reason for hiding this comment

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

Thanks for submitting your first PR for the Spring Framework!

I've requested a few minor changes.

@sbrannen sbrannen added the status: waiting-for-feedback We need additional information before we can continue label May 10, 2022
@sbrannen sbrannen marked this pull request as draft May 10, 2022 14:16
aooohan and others added 6 commits May 10, 2022 22:22
…actPointcutAdvisor.java

Co-authored-by: Sam Brannen <sbrannen@vmware.com>
…roxy/AspectJAwareAdvisorAutoProxyCreator.java

Co-authored-by: Sam Brannen <sbrannen@vmware.com>
…xyFactoryBean.java

Co-authored-by: Sam Brannen <sbrannen@vmware.com>
…establePropertyAccessor.java

Co-authored-by: Sam Brannen <sbrannen@vmware.com>
…c/method/annotation/RequestMappingHandlerAdapter.java

Co-authored-by: Sam Brannen <sbrannen@vmware.com>
…c/method/annotation/RequestMappingHandlerAdapter.java

Co-authored-by: Sam Brannen <sbrannen@vmware.com>
@aooohan aooohan marked this pull request as ready for review May 10, 2022 14:26
@aooohan
Copy link
Contributor Author

aooohan commented May 10, 2022

@sbrannen I have updated it.Thank you for reviewing my pr

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue labels May 10, 2022
@sbrannen sbrannen added this to the 6.0.0-M4 milestone May 10, 2022
@sbrannen sbrannen changed the title Polishing Polishing regarding JDK baseline upgrade May 10, 2022
@@ -366,7 +366,7 @@ private void enlarge(final int size) {
}
int doubleCapacity = 2 * data.length;
int minimalCapacity = length + size;
byte[] newData = new byte[doubleCapacity > minimalCapacity ? doubleCapacity : minimalCapacity];
byte[] newData = new byte[Math.max(doubleCapacity, minimalCapacity)];
Copy link
Member

Choose a reason for hiding this comment

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

I noticed while merging that this is our repackaged ASM code.

Here's our policy:

Please refrain from modifying classes under org.springframework.asm, org.springframework.cglib, and org.springframework.objenesis. Those include repackaged forks of the third-party libraries ASM, CGLIB, and Objenesis. Any refactoring to those classes should take place upstream in the originating repository. The Spring Framework will then pick up the changes when syncing with official updates of the forked third-party libraries.

So I'll revert that change locally.

sbrannen added a commit to sbrannen/spring-framework that referenced this pull request May 10, 2022
@sbrannen sbrannen closed this in a892ce8 May 10, 2022
@sbrannen
Copy link
Member

This has been merged into main in a892ce8 and augmented in eb50a6f.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: feedback-provided Feedback has been provided type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants