Files
codeql/java/ql/test/library-tests
Anders Fugmann d0e652159e Fix internal query violations and update test expectations for K2
- Make registerExtractorExtension protected (called from subclass)
- Change codeQlExtensionReceiver from var to val (setter unused)
- Update integration test expected files for K2 behavior:
  - Add DB-CHECK.expected for known K2 cross-extractor consistency errors
  - Update result expectations for K2 type resolution differences
- Update language test expected files (pathsanitizer, CWE-312):
  - K2 resolves Path.toString() and CharSequence.toString() with
    different callable IDs than the Java extractor, causing
    callableBinding consistency errors and lost taint flow results

These are pre-existing K2 issues documented in
github/codeql-kotlin-team#196, originally worked around by pinning
tests to -language-version 1.9 in PR #16554 (May 2024). Kotlin 2.4.0
drops 1.9 support, forcing us to accept these known K2 differences.

Verified: the same DB-CHECK errors occur with the released CodeQL CLI
(v2.23.9) and Kotlin 2.3.20 when using -language-version 2.0,
confirming these are K2 behavioral differences unrelated to our 2.4.0
extractor changes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-10 15:12:24 +02:00
..
2023-10-24 14:02:30 +01:00
2023-10-24 14:02:30 +01:00
2024-03-25 16:31:37 +00:00
2024-05-23 11:24:11 +02:00
2023-11-29 12:51:22 +00:00
2025-01-10 10:37:05 +00:00
2025-02-28 11:23:07 +00:00
2025-02-28 11:23:07 +00:00
2018-11-05 12:08:42 -05:00
2023-10-24 14:02:30 +01:00
2026-05-07 15:07:31 +02:00
2026-05-07 15:07:31 +02:00
2022-08-22 21:22:35 +02:00
2022-08-23 07:19:37 +02:00
2026-02-23 15:10:00 +01:00
2023-10-24 14:02:30 +01:00
2022-08-10 17:28:14 +01:00
2022-03-11 11:44:15 -05:00
2025-02-14 15:16:08 -05:00
2023-10-24 14:02:30 +01:00
2026-05-07 15:07:31 +02:00
2023-10-24 14:02:30 +01:00
2026-01-13 11:20:13 +01:00
2023-10-24 14:02:30 +01:00