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

Use Mockito 4 in observation-test #4968

Closed
violetagg opened this issue Apr 17, 2024 · 1 comment · Fixed by #4969
Closed

Use Mockito 4 in observation-test #4968

violetagg opened this issue Apr 17, 2024 · 1 comment · Fixed by #4969
Labels
release notes Noteworthy change to call out in the release notes
Milestone

Comments

@violetagg
Copy link
Contributor

violetagg commented Apr 17, 2024

Describe the bug

org/mockito/Mockito has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Environment

  • Micrometer version: 1.13.0-SNAPSHOT
  • OS: macOS
  • Java version: jdk 8

To Reproduce
Here is a reproducible example
https://github.com/violetagg/GH-4968

When you run org.example.MicrometerMockitoTest#test you should be able to see

org/mockito/Mockito has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
java.lang.UnsupportedClassVersionError: org/mockito/Mockito has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:473)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at org.example.MicrometerMockitoTest.test(MicrometerMockitoTest.java:10)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.util.ArrayList.forEach(ArrayList.java:1259)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:119)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:94)
	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:89)
	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
	at com.sun.proxy.$Proxy2.stop(Unknown Source)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)

Expected behavior
micrometer-observation-test v1.13.0-SNAPSHOT and mockito-core v4.11.0 should be able to be used in projects that require jdk 8

jonatan-ivanov added a commit to jonatan-ivanov/micrometer that referenced this issue Apr 17, 2024
Mockito 5 is not compatible with Java 8.

Closes micrometer-metricsgh-4968
@jonatan-ivanov jonatan-ivanov added bug A general bug and removed waiting-for-triage labels Apr 17, 2024
@jonatan-ivanov jonatan-ivanov added this to the 1.13.0 milestone Apr 17, 2024
jonatan-ivanov added a commit to jonatan-ivanov/micrometer that referenced this issue Apr 23, 2024
@jonatan-ivanov jonatan-ivanov changed the title micrometer-observation-test brings mockito-core v5.11.0 as a runtime dependency Use Mockito 4 in observation-test Apr 24, 2024
@jonatan-ivanov jonatan-ivanov added release notes Noteworthy change to call out in the release notes and removed bug A general bug labels Apr 24, 2024
@shakuzen shakuzen modified the milestones: 1.13.0, 1.11.12 Apr 25, 2024
@shakuzen
Copy link
Member

@jonatan-ivanov I've updated the milestone based on the merged PR target branch. Feel free to fix if that's not correct.

github-merge-queue bot pushed a commit to camunda/camunda that referenced this issue May 13, 2024
…le/8.4) (#18447)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[io.micrometer:micrometer-bom](https://togithub.com/micrometer-metrics/micrometer)
| `1.12.5` -> `1.12.6` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/io.micrometer:micrometer-bom/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.micrometer:micrometer-bom/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.micrometer:micrometer-bom/1.12.5/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.micrometer:micrometer-bom/1.12.5/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>micrometer-metrics/micrometer
(io.micrometer:micrometer-bom)</summary>

###
[`v1.12.6`](https://togithub.com/micrometer-metrics/micrometer/releases/tag/v1.12.6):
1.12.6

[Compare
Source](https://togithub.com/micrometer-metrics/micrometer/compare/v1.12.5...v1.12.6)

#### ⚠️ Noteworthy

- Downgrade to Mockito 4 from Mockito 5 in micrometer-observation-test
module
[micrometer-metrics/micrometer#4968

#### 🐞 Bug Fixes

- NullPointerException in DefaultJmsProcessObservationConvention
[#&#8203;4966](https://togithub.com/micrometer-metrics/micrometer/issues/4966)
- OTLP Gauge datapoint timestamp should be time at sampling
[#&#8203;5044](https://togithub.com/micrometer-metrics/micrometer/issues/5044)
- AnnotationHandler can't see methods from parent class
[#&#8203;4983](https://togithub.com/micrometer-metrics/micrometer/issues/4983)

#### 🔨 Dependency Upgrades

- Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.696 to 1.12.720
[#&#8203;5042](https://togithub.com/micrometer-metrics/micrometer/pull/5042)
[#&#8203;5086](https://togithub.com/micrometer-metrics/micrometer/pull/5086)
- Bump com.dynatrace.metric.util:dynatrace-metric-utils-java from 2.2.0
to 2.2.1
[#&#8203;5005](https://togithub.com/micrometer-metrics/micrometer/pull/5005)
- Bump com.signalfx.public:signalfx-java from 1.0.40 to 1.0.41
[#&#8203;5000](https://togithub.com/micrometer-metrics/micrometer/pull/5000)
- Bump com.netflix.spectator:spectator-reg-atlas from 1.7.11 to 1.7.12
[#&#8203;4994](https://togithub.com/micrometer-metrics/micrometer/pull/4994)

#### ❤️ Contributors

Thank you to all the contributors who worked on this release:

[@&#8203;izeye](https://togithub.com/izeye),
[@&#8203;tdinev](https://togithub.com/tdinev),
[@&#8203;lenin-jaganathan](https://togithub.com/lenin-jaganathan) and
[@&#8203;MartinUhlen](https://togithub.com/MartinUhlen)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/camunda/zeebe).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoic3RhYmxlLzguNCIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
github-merge-queue bot pushed a commit to camunda/camunda that referenced this issue May 13, 2024
…le/8.5) (#18448)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[io.micrometer:micrometer-bom](https://togithub.com/micrometer-metrics/micrometer)
| `1.12.5` -> `1.12.6` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/io.micrometer:micrometer-bom/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.micrometer:micrometer-bom/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.micrometer:micrometer-bom/1.12.5/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.micrometer:micrometer-bom/1.12.5/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>micrometer-metrics/micrometer
(io.micrometer:micrometer-bom)</summary>

###
[`v1.12.6`](https://togithub.com/micrometer-metrics/micrometer/releases/tag/v1.12.6):
1.12.6

[Compare
Source](https://togithub.com/micrometer-metrics/micrometer/compare/v1.12.5...v1.12.6)

#### ⚠️ Noteworthy

- Downgrade to Mockito 4 from Mockito 5 in micrometer-observation-test
module
[micrometer-metrics/micrometer#4968

#### 🐞 Bug Fixes

- NullPointerException in DefaultJmsProcessObservationConvention
[#&#8203;4966](https://togithub.com/micrometer-metrics/micrometer/issues/4966)
- OTLP Gauge datapoint timestamp should be time at sampling
[#&#8203;5044](https://togithub.com/micrometer-metrics/micrometer/issues/5044)
- AnnotationHandler can't see methods from parent class
[#&#8203;4983](https://togithub.com/micrometer-metrics/micrometer/issues/4983)

#### 🔨 Dependency Upgrades

- Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.696 to 1.12.720
[#&#8203;5042](https://togithub.com/micrometer-metrics/micrometer/pull/5042)
[#&#8203;5086](https://togithub.com/micrometer-metrics/micrometer/pull/5086)
- Bump com.dynatrace.metric.util:dynatrace-metric-utils-java from 2.2.0
to 2.2.1
[#&#8203;5005](https://togithub.com/micrometer-metrics/micrometer/pull/5005)
- Bump com.signalfx.public:signalfx-java from 1.0.40 to 1.0.41
[#&#8203;5000](https://togithub.com/micrometer-metrics/micrometer/pull/5000)
- Bump com.netflix.spectator:spectator-reg-atlas from 1.7.11 to 1.7.12
[#&#8203;4994](https://togithub.com/micrometer-metrics/micrometer/pull/4994)

#### ❤️ Contributors

Thank you to all the contributors who worked on this release:

[@&#8203;izeye](https://togithub.com/izeye),
[@&#8203;tdinev](https://togithub.com/tdinev),
[@&#8203;lenin-jaganathan](https://togithub.com/lenin-jaganathan) and
[@&#8203;MartinUhlen](https://togithub.com/MartinUhlen)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/camunda/zeebe).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoic3RhYmxlLzguNSIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
github-merge-queue bot pushed a commit to camunda/camunda that referenced this issue May 13, 2024
#18450)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[io.micrometer:micrometer-bom](https://togithub.com/micrometer-metrics/micrometer)
| `1.12.5` -> `1.12.6` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/io.micrometer:micrometer-bom/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/io.micrometer:micrometer-bom/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/io.micrometer:micrometer-bom/1.12.5/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/io.micrometer:micrometer-bom/1.12.5/1.12.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>micrometer-metrics/micrometer
(io.micrometer:micrometer-bom)</summary>

###
[`v1.12.6`](https://togithub.com/micrometer-metrics/micrometer/releases/tag/v1.12.6):
1.12.6

[Compare
Source](https://togithub.com/micrometer-metrics/micrometer/compare/v1.12.5...v1.12.6)

#### ⚠️ Noteworthy

- Downgrade to Mockito 4 from Mockito 5 in micrometer-observation-test
module
[micrometer-metrics/micrometer#4968

#### 🐞 Bug Fixes

- NullPointerException in DefaultJmsProcessObservationConvention
[#&#8203;4966](https://togithub.com/micrometer-metrics/micrometer/issues/4966)
- OTLP Gauge datapoint timestamp should be time at sampling
[#&#8203;5044](https://togithub.com/micrometer-metrics/micrometer/issues/5044)
- AnnotationHandler can't see methods from parent class
[#&#8203;4983](https://togithub.com/micrometer-metrics/micrometer/issues/4983)

#### 🔨 Dependency Upgrades

- Bump com.amazonaws:aws-java-sdk-cloudwatch from 1.12.696 to 1.12.720
[#&#8203;5042](https://togithub.com/micrometer-metrics/micrometer/pull/5042)
[#&#8203;5086](https://togithub.com/micrometer-metrics/micrometer/pull/5086)
- Bump com.dynatrace.metric.util:dynatrace-metric-utils-java from 2.2.0
to 2.2.1
[#&#8203;5005](https://togithub.com/micrometer-metrics/micrometer/pull/5005)
- Bump com.signalfx.public:signalfx-java from 1.0.40 to 1.0.41
[#&#8203;5000](https://togithub.com/micrometer-metrics/micrometer/pull/5000)
- Bump com.netflix.spectator:spectator-reg-atlas from 1.7.11 to 1.7.12
[#&#8203;4994](https://togithub.com/micrometer-metrics/micrometer/pull/4994)

#### ❤️ Contributors

Thank you to all the contributors who worked on this release:

[@&#8203;izeye](https://togithub.com/izeye),
[@&#8203;tdinev](https://togithub.com/tdinev),
[@&#8203;lenin-jaganathan](https://togithub.com/lenin-jaganathan) and
[@&#8203;MartinUhlen](https://togithub.com/MartinUhlen)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/camunda/zeebe).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNTEuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM1MS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJhdXRvbWVyZ2UiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes Noteworthy change to call out in the release notes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants