Anders Fugmann
0921cd71ec
Kotlin wrapper: keep selected compiler install available after cleanups
...
Why this is needed:
- The dev wrapper persisted the selected version in .kotlinc_version, but only installed binaries when the selected version changed.
- After a clean working directory (which can remove .kotlinc_installed), the version file can still point at an already-selected compiler, causing forward execution to fail because the binary directory no longer exists.
What this changes:
- Make install() idempotent by returning early when install dir already exists.
- Call install() unconditionally from main() so the selected version is always materialised before forwarding.
- Keep explicit reinstall behaviour on version switches by removing the old install directory when selection changes.
This is an independent reliability fix and not tied to Kotlin 1.x test routing.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-06-29 16:21:25 +02:00
Mario Campos
da3d0cf977
Merge pull request #22062 from github/mario-campos/mirror-maven-central/gradle
...
Replace `jcenter()` and `mavenCentral()` with Maven Central mirror URL
2026-06-26 11:35:10 -05:00
Mario Campos
1b6ff24642
Fix buildless-fetches.expected for buildless-sibling-projects
2026-06-25 22:57:35 -05:00
Mario Campos
221a54d22e
Add Maven Central mirror settings for Maven test project buildless-sibling-projects
2026-06-25 21:44:20 +00:00
Mario Campos
cc215858e4
Fix expected URL fetches for buildless-sibling-projects
2026-06-25 21:12:33 +00:00
Mario Campos
56a1b12c9e
Delete extra blank line
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-06-25 15:01:20 -05:00
Mario Campos
688213056c
Replace deprecated jcenter() with Maven Central mirror URL for dependency resolution in Gradle build scripts
2026-06-25 19:02:43 +00:00
Mario Campos
1c37688ec1
Replace mavenCentral() with Maven Central mirror URL for dependency resolution in Gradle build scripts
2026-06-25 19:02:37 +00:00
github-actions[bot]
456e33773b
Post-release preparation for codeql-cli-2.26.0
2026-06-25 16:24:06 +00:00
github-actions[bot]
237c5639e2
Release preparation for version 2.26.0
2026-06-25 15:27:00 +00:00
Jeroen Ketema
969ab78225
Merge pull request #22048 from github/jketema/kotlin1-pytest
...
Kotlin: Update tests to use new `kotlin_2_3_20` fixture
2026-06-25 15:01:33 +02:00
Jeroen Ketema
9b2e6077f1
Kotlin: Address review comments
2026-06-25 12:58:27 +02:00
Mario Campos
3324d07985
Merge pull request #22046 from github/mario-campos/mirror-maven-central/maven
...
Use Maven Central mirror in Java Maven integration tests
2026-06-24 16:42:29 -05:00
Jeroen Ketema
f6b3d1eade
Kotlin: Remove unneeded pytest imports
2026-06-24 23:34:39 +02:00
Jeroen Ketema
402c0f89bc
Kotlin: Update tests to use new kotlin_2_3_20 fixture
2026-06-24 22:50:32 +02:00
Mario Campos
af11f6e618
Use Maven Central mirror in Java Maven integration tests
2026-06-24 17:45:27 +00:00
Jeroen Ketema
b8c78fdcb7
Merge pull request #21970 from github/andersfugmann/kotlin-2.4-v2
...
Kotlin: add Kotlin 2.4.0 support
2026-06-24 16:40:40 +02:00
Anders Schack-Mulligen
11725e8921
Java: Accept test changes.
2026-06-23 14:28:44 +02:00
Anders Schack-Mulligen
41297c588c
Cfg: Change AST/CFG for CatchClauses to use a pattern.
2026-06-23 14:28:44 +02:00
Jeroen Ketema
cd23341dab
Merge branch 'main' into andersfugmann/kotlin-2.4-v2
2026-06-23 11:45:17 +02:00
Idriss Riouak
568a147f77
Merge pull request #22007 from github/java-update-ferstl-depgraph-cves
...
Java: update ferstl depgraph cves
2026-06-22 10:08:05 +02:00
Anders Fugmann
0f83586757
Kotlin 2.4.0: Address peer review
...
* Update documentation to only claim support for 2.4.0x
* Python test code; remove newlines between imports.
* Sync comments between kotlin 1.8 and 1.9
* Update code comments to attach where actually relevant,
and improve comments on IrMemberAccessExpression<*>.extensionReceiverParameterIndex()
2026-06-19 13:45:28 +02:00
idrissrio
ebb74a56f6
Java: accept new test results
2026-06-19 09:38:16 +02:00
idrissrio
99fb3879b2
Java: update ferstl script
2026-06-18 15:43:30 +02:00
Anders Schack-Mulligen
779309edb1
Merge pull request #21999 from aschackmull/cfg/parameter-pattern
...
Cfg: Distinguish parameters from their patterns.
2026-06-18 15:18:22 +02:00
Anders Schack-Mulligen
f844cd3754
Java/C#: Adapt to signature change.
2026-06-18 11:00:30 +02:00
Jeroen Ketema
fefe01ecbf
Java: Update expected test results after extractor changes
2026-06-17 17:40:23 +02:00
Anders Fugmann
1b785a8ff6
Kotlin: mark kotlin1 integration tests
...
Mark the integration tests that require a Kotlin 1.x language version
with @pytest.mark.kotlin1 so CI can run them on a pinned pre-2.4
compiler (Kotlin 2.4 no longer accepts -language-version 1.9).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-06-16 16:24:43 +02:00
Anders Fugmann
e10743bd08
Kotlin: add extractor support for 2.4.0
...
Add the Kotlin 2.4.0 compiler plugin variant (component registrar,
IR compatibility shims, and version-specific utilities), bundle the
2.4.0 compiler dependencies, and update the build wiring, supported
version metadata and the too-new diagnostic bound.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-06-16 16:24:42 +02:00
Jeroen Ketema
c5dc05483b
Merge pull request #21990 from jketema/jketema/telemetry-prep
...
Java: Use fixture for filtering diagnostics
2026-06-16 13:53:33 +02:00
Tom Hvitved
d287f0cf0b
Merge pull request #21987 from hvitved/type-flow-ranking
...
Java: Fix performance issue in type flow library
2026-06-16 09:39:30 +02:00
Jeroen Ketema
b9b15af308
Java: Use fixture for filtering diagnostics
2026-06-15 14:51:52 +02:00
Tom Hvitved
686e98c6ff
Update java/ql/lib/semmle/code/java/dataflow/TypeFlow.qll
...
Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com >
2026-06-15 11:37:14 +02:00
Owen Mansel-Chan
14c72def96
Merge pull request #21983 from owen-mc/java/convert-to-inline-expectation-tests
...
Java: Improve inline expectations test comments
2026-06-15 10:31:56 +01:00
Tom Hvitved
651770b412
Java: Fix performance issue in type flow library
2026-06-15 10:35:16 +02:00
Anders Schack-Mulligen
6934aa0e39
Merge pull request #21980 from aschackmull/cfg/unless-until
...
Cfg: Add support for unless and until statements
2026-06-15 09:58:03 +02:00
Owen Mansel-Chan
4bc083fd7f
Remove confusing comments
2026-06-12 21:51:52 +01:00
Owen Mansel-Chan
89c1d66f90
Add SPURIOUS and MISSING alerts based on existing comments
2026-06-12 21:51:50 +01:00
Owen Mansel-Chan
b9670ef831
Merge pull request #21966 from owen-mc/java/convert-to-inline-expectation-tests
...
Java: convert all qlref tests to inline expectation tests using postprocessing
2026-06-12 21:48:49 +01:00
Anders Schack-Mulligen
ff61344afa
Cfg: Add support for until-statements.
2026-06-12 13:55:05 +02:00
Anders Schack-Mulligen
f3ec7087e3
Cfg: Fix type.
2026-06-12 10:02:48 +02:00
Owen Mansel-Chan
29b0c286a7
Fix 3 more tests
2026-06-11 23:40:14 +02:00
Owen Mansel-Chan
a4bf2b8f58
Fix 3 tests
2026-06-11 22:59:39 +02:00
Owen Mansel-Chan
a375e186ed
Third pass
2026-06-11 21:53:22 +02:00
Owen Mansel-Chan
3693185b6b
Second pass
2026-06-10 09:14:47 +02:00
Owen Mansel-Chan
1c1d26453d
First pass converting qlref tests to inline expectation with postprocess
2026-06-10 07:46:42 +02:00
Anders Schack-Mulligen
01173bf383
Cfg: Fold getTryInit into indexed getBody.
2026-06-08 14:03:12 +02:00
Owen Mansel-Chan
cd2398aeea
Merge pull request #21936 from github/workflow/coverage/update
...
Update CSV framework coverage reports
2026-06-04 12:45:21 +01:00
Sotiris Dragonas
d6892eaf0d
Merge pull request #21900 from github/bazookamusic/range-analysis-bound-move-to-shared
...
Bound.qll - Replace utility for range analysis duplicate across java and cs with shared file
2026-06-04 12:45:11 +02:00
BazookaMusic
d2972cb53f
Add back alias for module
2026-06-04 11:08:49 +02:00