Skip to content

2.0.2: corrections found applying the standard to a whole repository - #2

Merged
marregui merged 1 commit into
mainfrom
v2.0.2
Oct 31, 2026
Merged

marregui merged 1 commit into
mainfrom
v2.0.2

Conversation

@marregui

Copy link
Copy Markdown
Owner

Corrections from a full review of one repository against the standard; no rule ID, scope or class changed. Details in CHANGELOG.md 2.0.2.

  • G-1.5: the int mixer clustered keys strided by a power of two (8 of 2,048 slots); now the murmur3 finaliser.
  • G-2.1: Window implements toString(), as CharSequence requires.
  • G-2.5: Logback prints what getStackTrace() returns.
  • G-7.3: a subclass field of 4 bytes or less can fill the gap after the header on JDK 25; the padded hot field is a long.
  • G-7.7: notify publishes through the monitor both sides hold.
  • G-10.2: the text and the Checkstyle comment name what the build does not check (fields, try-with-resources, multi-catch, basic-for initialisers).
  • G-10.11 and checkstyle.xml: the JDK group is the packages the JDK's modules export (org.w3c.dom, org.xml.sax, sun.misc…), not every com.sun package.
  • G-11.5: the example joins every worker in finally and asserts once, so a stuck worker no longer hides the primary failure.
  • G-14.11: default JFR settings record the environment, system properties and command line; the recording is a secret.

Checks: python3 tools/rules.py --check (140 rules, 0 failures); changed examples compiled with javac -Xlint:all -Werror on JDK 25 and run; the package pattern matches every package exported by JDK 25's modules.

@marregui marregui self-assigned this Oct 31, 2026
@marregui
marregui merged commit 8e5763b into main Oct 31, 2026
2 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.

1 participant