Skip to content

refactorings and cleanup motivated by error-prone#9141

Merged
headius merged 17 commits into
jruby:masterfrom
kares:error-prone-again
Dec 30, 2025
Merged

refactorings and cleanup motivated by error-prone#9141
headius merged 17 commits into
jruby:masterfrom
kares:error-prone-again

Conversation

@kares

@kares kares commented Dec 13, 2025

Copy link
Copy Markdown
Member

setting up error_prone compiler plugin (again), no longer ran on master (CI) since it was only activated on Java 11

there's couple useful finds, handed them one by one in separate commits

@kares kares changed the title setup error-prone again refactorings and cleanup motivated by error-prone Dec 15, 2025
@kares
kares requested a review from headius December 15, 2025 12:53

@headius headius left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Only minor things that may or may not need to be fixed. Seems like generally good changes to me.

return 5;
}
if (code <= 0x7fffffff) {
//if (code <= 0x7fffffff) { // since 0x7fffffff == Integer.MAX_VALUE

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does this change leave the code indented? If so that should be cleaned up.

Comment thread core/pom.rb
id: 'eclipse-hack',
phase: 'process-classes',
skipMain: 'true',
includes: ['**/*.java'])

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Unsure if this is sitll needed but I suppose we can remove it and see.

@headius
headius merged commit babfb5b into jruby:master Dec 30, 2025
77 checks passed
@headius headius added this to the JRuby 10.0.3.0 milestone Dec 30, 2025
headius added a commit that referenced this pull request Dec 30, 2025
A final minor change after #9141
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants