GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — [java] Fix #7120: NonThreadSafeSingleton NoSuchElementException by UncleOwen · Pull Request #7121 · pmd/pmd Conversation
Member
Describe the PRThis fixes a NoSuchElementException in NonThreadSafeSingleton The code assumed that every ASTVariableId of a JFieldSymbol is inside a ASTFieldDeclaration. This assumption is wrong for records. Records are thread-safe by default, so we can safely return false from shouldConsiderField. Related issuesReady?
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
|
Compared to main: (comment created at 2026-10-23 14:03:01+00:00 for 1dabcf5) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
# Conflicts: # docs/pages/release_notes.md
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[java] NonThreadSafeSingleton: throws NoSuchElementException on a record that null checks its own fields
There was an error while loading. Please reload this page.