Skip to content

Bump org.jetbrains.kotlin:kotlin-stdlib from 2.0.21 to 2.2.0 #3665

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

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 23, 2025

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Closes #3664


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jun 23, 2025
@dependabot dependabot bot force-pushed the dependabot/gradle/org.jetbrains.kotlin-kotlin-stdlib-2.2.0 branch from 2d6f137 to 88494bc Compare July 5, 2025 07:35
@TimvdLippe
Copy link
Contributor

@dependabot rebase

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-version: 2.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/gradle/org.jetbrains.kotlin-kotlin-stdlib-2.2.0 branch from 88494bc to 9606ab9 Compare July 5, 2025 08:16
@TimvdLippe TimvdLippe force-pushed the dependabot/gradle/org.jetbrains.kotlin-kotlin-stdlib-2.2.0 branch from 76d97ac to 5cede3a Compare July 5, 2025 08:58
To make sure that kotlin-stdlib and Gradle agree
on which Kotlin version to use.
@TimvdLippe TimvdLippe force-pushed the dependabot/gradle/org.jetbrains.kotlin-kotlin-stdlib-2.2.0 branch from 5cede3a to 6c5c060 Compare July 5, 2025 09:09
@codecov-commenter
Copy link

codecov-commenter commented Jul 5, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.47%. Comparing base (ab3f99e) to head (c20496b).

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #3665   +/-   ##
=========================================
  Coverage     86.47%   86.47%           
  Complexity     2964     2964           
=========================================
  Files           341      341           
  Lines          9000     9000           
  Branches       1105     1105           
=========================================
  Hits           7783     7783           
  Misses          935      935           
  Partials        282      282           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

With Kotlin 2 it is no longer possible to mock/spy a lambda, as it
results in the following exception:

```
org.mockito.exceptions.base.MockitoException:
Cannot mock/spy class org.mockito.kotlin.FunctionTest$$Lambda$79/0x00007f5cc4116620
Mockito cannot mock/spy because :
    - VM does not support modification of given type
```
import org.mockito.Mockito.spy
import org.mockito.Mockito.verify

class FunctionTest {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@raphw This test was added for #1183 in #1217, but now we run into mockito/mockito-kotlin#441 I did try the workaround posted there, but I get the feeling that Kotlin 2 simply doesn't allow you to mock this any longer. Are we okay with dropping coverage here, assuming that this is the way to go for Kotlin in the future?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the new compiler uses invokedynamic now, which will not work with instrumentation. I suggest that we remove this feature rather than jump through hoops that will fail eventually.

@TimvdLippe TimvdLippe merged commit 08de9e0 into main Jul 6, 2025
18 checks passed
@TimvdLippe TimvdLippe deleted the dependabot/gradle/org.jetbrains.kotlin-kotlin-stdlib-2.2.0 branch July 6, 2025 08:07
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Aug 15, 2025
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
| [org.mockito:mockito-core](https://github.com/mockito/mockito) |
dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`5.18.0` -> `5.19.0` |
|
[com.google.api-client:google-api-client](https://github.com/googleapis/google-api-java-client)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.8.0` -> `2.8.1` |
| [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`1.52.0` -> `1.52.1` |
| [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.22` -> `2.32.23` |
| [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.22` -> `2.32.23` |
| [software.amazon.awssdk:regions](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.22` -> `2.32.23` |
|
[software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava)
| dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.22` -> `2.32.23` |
| [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.22` -> `2.32.23` |
| [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.22` -> `2.32.23` |
| [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.22` -> `2.32.23` |
| [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) |
dependencies | misk/gradle/libs.versions.toml | gradle | patch |
`2.32.22` -> `2.32.23` |

---

### Release Notes

<details>
<summary>mockito/mockito (org.mockito:mockito-core)</summary>

### [`v5.19.0`](https://github.com/mockito/mockito/releases/tag/v5.19.0)

<sup><sup>*Changelog generated by [Shipkit Changelog Gradle
Plugin](https://github.com/shipkit/shipkit-changelog)*</sup></sup>

##### 5.19.0

- 2025-08-15 - [37
commit(s)](mockito/mockito@v5.18.0...v5.19.0)
by Adrian-Kim, Tim van der Lippe, Tran Ngoc Nhan, dependabot\[bot],
juyeop
- feat: Add support for JDK21 Sequenced Collections.
[(#&#8203;3708)](mockito/mockito#3708)
- Bump actions/checkout from 4 to 5
[(#&#8203;3707)](mockito/mockito#3707)
- build: Allow overriding 'Created-By' for reproducible builds
[(#&#8203;3704)](mockito/mockito#3704)
- Bump org.assertj:assertj-core from 3.27.3 to 3.27.4
[(#&#8203;3703)](mockito/mockito#3703)
- Bump androidx.test:runner from 1.6.2 to 1.7.0
[(#&#8203;3697)](mockito/mockito#3697)
- Bump org.junit.platform:junit-platform-launcher from 1.13.3 to 1.13.4
[(#&#8203;3694)](mockito/mockito#3694)
- Bump com.diffplug.spotless:spotless-plugin-gradle from 7.1.0 to 7.2.1
[(#&#8203;3693)](mockito/mockito#3693)
- Bump junit-jupiter from 5.13.3 to 5.13.4
[(#&#8203;3691)](mockito/mockito#3691)
- Bump com.gradle.develocity from 4.0.2 to 4.1
[(#&#8203;3689)](mockito/mockito#3689)
- Bump com.google.googlejavaformat:google-java-format from 1.27.0 to
1.28.0 [(#&#8203;3688)](mockito/mockito#3688)
- Bump com.google.googlejavaformat:google-java-format from 1.25.2 to
1.27.0 [(#&#8203;3686)](mockito/mockito#3686)
- Bump com.diffplug.spotless:spotless-plugin-gradle from 7.0.4 to 7.1.0
[(#&#8203;3685)](mockito/mockito#3685)
- Bump junit-jupiter from 5.13.2 to 5.13.3
[(#&#8203;3684)](mockito/mockito#3684)
- Bump org.shipkit:shipkit-auto-version from 2.1.0 to 2.1.2
[(#&#8203;3683)](mockito/mockito#3683)
- Bump com.diffplug.spotless:spotless-plugin-gradle from 7.0.2 to 7.0.4
[(#&#8203;3682)](mockito/mockito#3682)
- Only run release after both Java and Android tests have finished
[(#&#8203;3681)](mockito/mockito#3681)
- Bump org.junit.platform:junit-platform-launcher from 1.12.2 to 1.13.3
[(#&#8203;3680)](mockito/mockito#3680)
- Bump org.codehaus.groovy:groovy from 3.0.24 to 3.0.25
[(#&#8203;3679)](mockito/mockito#3679)
- Bump org.eclipse.platform:org.eclipse.osgi from 3.23.0 to 3.23.100
[(#&#8203;3678)](mockito/mockito#3678)
- Can no longer publish snapshot releases
[(#&#8203;3677)](mockito/mockito#3677)
- Update Gradle to 8.14.2
[(#&#8203;3676)](mockito/mockito#3676)
- Bump errorprone from 2.23.0 to 2.39.0
[(#&#8203;3674)](mockito/mockito#3674)
- Correct Junit docs link
[(#&#8203;3672)](mockito/mockito#3672)
- Bump net.ltgt.gradle:gradle-errorprone-plugin from 4.1.0 to 4.3.0
[(#&#8203;3670)](mockito/mockito#3670)
- Bump junit-jupiter from 5.13.1 to 5.13.2
[(#&#8203;3669)](mockito/mockito#3669)
- Bump bytebuddy from 1.17.5 to 1.17.6
[(#&#8203;3668)](mockito/mockito#3668)
- Bump junit-jupiter from 5.12.2 to 5.13.1
[(#&#8203;3666)](mockito/mockito#3666)
- Bump org.jetbrains.kotlin:kotlin-stdlib from 2.0.21 to 2.2.0
[(#&#8203;3665)](mockito/mockito#3665)
- Bump org.gradle.toolchains.foojay-resolver-convention from 0.9.0 to
1.0.0 [(#&#8203;3661)](mockito/mockito#3661)
- Bump org.junit.platform:junit-platform-launcher from 1.11.4 to 1.12.2
[(#&#8203;3660)](mockito/mockito#3660)
- Add JDK21 sequenced collections for ReturnsEmptyValues
[(#&#8203;3659)](mockito/mockito#3659)
- Bump com.gradle.develocity from 3.19.1 to 4.0.2
[(#&#8203;3658)](mockito/mockito#3658)
- Bump ru.vyarus:gradle-animalsniffer-plugin from 1.7.2 to 2.0.1
[(#&#8203;3657)](mockito/mockito#3657)
- Bump org.eclipse.platform:org.eclipse.osgi from 3.22.0 to 3.23.0
[(#&#8203;3656)](mockito/mockito#3656)
- Bump org.codehaus.groovy:groovy from 3.0.23 to 3.0.24
[(#&#8203;3655)](mockito/mockito#3655)
- Bump junit-jupiter from 5.11.4 to 5.12.2
[(#&#8203;3653)](mockito/mockito#3653)
- Reproducible Build: need to inject JDK distribution details to rebuild
[(#&#8203;3563)](mockito/mockito#3563)

</details>

<details>
<summary>googleapis/google-api-java-client
(com.google.api-client:google-api-client)</summary>

###
[`v2.8.1`](https://github.com/googleapis/google-api-java-client/blob/HEAD/CHANGELOG.md#281-2025-08-14)

##### Bug Fixes

- **deps:** Update project.http.version to v2
([#&#8203;2598](googleapis/google-api-java-client#2598))
([4874da1](googleapis/google-api-java-client@4874da1))

</details>

<details>
<summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary>

###
[`v1.52.1`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.52.1):
1.52.1

### Components

#### Application Security Management (WAF)

- 🐛 Fix NullPointerException log in AppSec
([#&#8203;9356](DataDog/dd-trace-java#9356) -
[@&#8203;jandro996](https://github.com/jandro996))

#### Continuous Integration Visibility

- ✨⚡ Do not follow symlinks by default when building
repository index
([#&#8203;9322](DataDog/dd-trace-java#9322) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))

#### GraalVM native-image

- 🐛 Update GraalVM config to reflect TempLocationManager's new
package
([#&#8203;9338](DataDog/dd-trace-java#9338) -
[@&#8203;luneo7](https://github.com/luneo7) - thanks for the
contribution!)

#### Profiling

- 🐛 Properly handle trace agent IPv6 URL in profiling
([#&#8203;9339](DataDog/dd-trace-java#9339) -
[@&#8203;jbachorik](https://github.com/jbachorik))

#### Realtime User Monitoring

- ✨ Support async servlet for RUM injection
([#&#8203;9343](DataDog/dd-trace-java#9343) -
[@&#8203;amarziali](https://github.com/amarziali))
- 🐛 Improve RUM injection matching and avoid truncating responses
([#&#8203;9342](DataDog/dd-trace-java#9342) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Make rum injector stream/writer more resilient to errors
([#&#8203;9340](DataDog/dd-trace-java#9340) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Tracer core

- 🐛 Avoid NPE on featureDiscovery creation
([#&#8203;9354](DataDog/dd-trace-java#9354) -
[@&#8203;amarziali](https://github.com/amarziali))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am
every weekday" in timezone Australia/Melbourne, Automerge - At any time
(no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

GitOrigin-RevId: 74bf02ba96add7578dbd1f225449c2f86de0c99d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants