Skip to content
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

failing testcases for safe-logging check when using Runnables/Suppliers/etc #2984

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Blizzara
Copy link

@Blizzara Blizzara commented Dec 18, 2024

Before this PR

I tried to see if I could fix this myself, but I lack the knowledge of this meta-java stuff. I did see in debugger that at this line, the parameterSafety is correctly SAFE, and the argument is an @Unsafe Object value, but then the SafetyAnalysis returns as UNKNOWN leading to the check below passing. But not sure if this is even the correct place to catch it, or if it should rather be caught somewhere else.

Also my // asserts in the test cases might be wrong, but if you remove them, the tests will pass with no errors - which they shouldn't, I think.

After this PR

==COMMIT_MSG==
==COMMIT_MSG==

Possible downsides?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant