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

Kotlin: Enable java/non-serializable-field for Kotlin #11437

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

igfoo
Copy link
Contributor

@igfoo igfoo commented Nov 25, 2022

It now ignores compiler-generated classes

It now ignores compiler-generated classes
@igfoo igfoo requested a review from a team as a code owner Nov 25, 2022
@igfoo igfoo requested a review from a team Nov 25, 2022
@igfoo igfoo added the Kotlin label Nov 25, 2022
@igfoo igfoo marked this pull request as draft Nov 25, 2022
Copy link
Contributor

@tamasvajk tamasvajk left a comment

The corresponding test is failing with

Executing tests in /home/runner/work/semmle-code/semmle-code/ql/java/ql/test/kotlin/query-tests/NonSerializableField.
--- expected
+++ actual
@@ -1,1 +1,1 @@
-
+| NonSerializableFieldTest.kt:3:22:3:28 | <dispatchReceiver> | This field is in a serializable class, but is not serializable itself because Foo is not serializable. |

@tamasvajk
Copy link
Contributor

tamasvajk commented Nov 28, 2022

Ahh, sorry for the noise, I think you might have made this PR draft, because you already noticed the above.

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.

None yet

2 participants