Skip to content

Issue #19623: ImportOrder 3.3's Rule 1 update#19628

Merged
romani merged 1 commit into
checkstyle:masterfrom
aclfe:openjdk1
May 13, 2026
Merged

Issue #19623: ImportOrder 3.3's Rule 1 update#19628
romani merged 1 commit into
checkstyle:masterfrom
aclfe:openjdk1

Conversation

@aclfe

@aclfe aclfe commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

Issue #19623: ImportOrder 3.3's Rule 1 update

Updating documentation and adding test files.

@aclfe

aclfe commented Apr 6, 2026

Copy link
Copy Markdown
Contributor Author

@vivek-0509 @romani

ci failure unrelated

@vivek-0509

Copy link
Copy Markdown
Member

@acle Please rebase your branch we have recently merged this PR to support chapterwise testing for OpenJDK.

@vivek-0509

Copy link
Copy Markdown
Member

@aclfe Please fix the ci

@aclfe

aclfe commented Apr 22, 2026

Copy link
Copy Markdown
Contributor Author

@aclfe Please fix the ci

Will do @vivek-0509
Just on a vacation right now, I'll get to this pr in a while

@romani

romani commented May 11, 2026

Copy link
Copy Markdown
Member

@aclfe , do you have time to finish this PR ?

@aclfe

aclfe commented May 12, 2026

Copy link
Copy Markdown
Contributor Author

@romani @vivek-0509

Please review changes, thanks for being patient team! Pitest imports is a network error, needs a rerun


╰─$   ./.ci/pitest.sh "pitest-imports"                                                                                                                              130 ↵
>> Line Coverage (for mutated classes only): 911/911 (100%)
>> 43 tests examined
>> Generated 1637 mutations Killed 1637 (100%)
>> Mutations with no coverage 0. Test strength 100%
>> Ran 5131 tests (3.13 tests per mutation)
Enhanced functionality available at https://www.arcmutate.com/
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  05:08 min
[INFO] Finished at: 2026-05-12T23:06:17+08:00

@romani romani 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.

merging as good starting point for chapter , but config needs to be improved


<!-- §3.3: Import statements should be sorted -->
<module name="ImportOrder">
<property name="groups" value="java,javax"/>

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.

there should be org and com packages, as it is shown in style guide as example.
We need analyse jdk source that get more details what is list of internal and external packages means.

@romani romani merged commit 61ca699 into checkstyle:master May 13, 2026
153 of 155 checks passed
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.

3 participants