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
Version 4.8.4 false positive SING_SINGLETON_GETTER_NOT_SYNCHRONIZED #2967
Comments
I taken a look at the results.
|
@JuditKnoll |
IMO SpotBugs 4.8.5 will be released in a few weeks time, if nothing really messed up comes up which should be addressed in the next release. |
Great, ty. |
spotbugs/spotbugs#2967 Revert Spotbugs 4.8.4 to 4.8.3
I think we could speed up release. A number of issues are fixed and release isn't difficult so maybe sooner. It might make more sense we do so given we are starting to get duplicated tickets on fixed issues. Personally, I was thinking cut something this weekend and nothing new next release or two until we fix this mess 😞 given FP it might be easier to cut some losses and solve what we got solved. While not ideal it would at least add more focus on what else is broken.
I presume many are trying to align parent releases on mavens current flurry of releases going on right now as am I and at least getting something out is better than nothing.
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Gary Gregory ***@***.***>
Sent: Wednesday, April 24, 2024 10:00:51 AM
To: spotbugs/spotbugs ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [spotbugs/spotbugs] Version 4.8.4 false positive SING_SINGLETON_GETTER_NOT_SYNCHRONIZED (Issue #2967)
Great, ty.
—
Reply to this email directly, view it on GitHub<#2967 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAHODI7OC7H4K5TYIHEEOWLY663JHAVCNFSM6AAAAABGVUAXR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZVGAZDGNRQGY>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
I like RERO ! 👍 😄 |
This reverts commit 15a05c1. SpotBugs 4.8.4 has at least one problem (spotbugs/spotbugs#2967) so we wait for the next version. Somehow I didn't notice this at first when trying it out locally. git-svn-id: https://svn.sosy-lab.org/software/cpachecker/trunk@46371 4712c6d2-40bb-43ae-aa4b-fec3f1bdfe4c
Spotbugs thinks there is a getter mehod to synchronize when there is none and raises a
SING_SINGLETON_GETTER_NOT_SYNCHRONIZED
.To reproduce:
Will cause 10 errors when 4.8.3 raises none, including:
On https://spotbugs.readthedocs.io/en/latest/bugDescriptions.html,
SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR
says:Which sure seems like silly since there is such method.
Please advise...
TY!
The text was updated successfully, but these errors were encountered: