Skip to content

Commit ba468a7

Browse files
committed
Remove JamonPerformanceMonitorInterceptor support
Includes upgrade to Tomcat 10.0.14, Undertow 2.2.14, Apache HttpClient 5.1.2, Hibernate ORM 5.6.2, Mockito 4.1. Closes gh-27786
1 parent 9a513cf commit ba468a7

File tree

8 files changed

+18
-248
lines changed

8 files changed

+18
-248
lines changed

build.gradle

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -112,41 +112,38 @@ configure(allprojects) { project ->
112112
dependency "org.quartz-scheduler:quartz:2.3.2"
113113
dependency "org.ehcache:jcache:1.0.1"
114114
dependency "org.ehcache:ehcache:3.4.0"
115-
dependency "org.hibernate:hibernate-core-jakarta:5.6.1.Final"
115+
dependency "org.hibernate:hibernate-core-jakarta:5.6.2.Final"
116116
dependency "org.hibernate:hibernate-validator:7.0.1.Final"
117117
dependency "org.webjars:webjars-locator-core:0.48"
118118
dependency "org.webjars:underscorejs:1.8.3"
119119

120-
dependencySet(group: 'org.apache.tomcat', version: '10.0.13') {
120+
dependencySet(group: 'org.apache.tomcat', version: '10.0.14') {
121121
entry 'tomcat-util'
122122
entry('tomcat-websocket') {
123123
exclude group: "org.apache.tomcat", name: "tomcat-servlet-api"
124124
exclude group: "org.apache.tomcat", name: "tomcat-websocket-api"
125125
}
126126
}
127-
dependencySet(group: 'org.apache.tomcat.embed', version: '10.0.13') {
127+
dependencySet(group: 'org.apache.tomcat.embed', version: '10.0.14') {
128128
entry 'tomcat-embed-core'
129129
entry 'tomcat-embed-websocket'
130130
}
131-
dependencySet(group: 'io.undertow', version: '2.2.13.Final') {
131+
dependencySet(group: 'io.undertow', version: '2.2.14.Final') {
132132
entry 'undertow-core'
133-
entry 'undertow-servlet-jakartaee9'
134-
entry 'undertow-websockets-jsr-jakartaee9'
133+
entry 'undertow-servlet-jakarta'
134+
entry 'undertow-websockets-jsr-jakarta'
135135
}
136136

137-
dependencySet(group: 'com.squareup.okhttp3', version: '3.14.9') {
138-
entry 'okhttp'
139-
entry 'mockwebserver'
140-
}
137+
dependency "org.eclipse.jetty:jetty-reactive-httpclient:3.0.4"
138+
dependency 'org.apache.httpcomponents.client5:httpclient5:5.1.2'
139+
dependency 'org.apache.httpcomponents.core5:httpcore5-reactive:5.1.2'
141140
dependency("org.apache.httpcomponents:httpclient:4.5.13") {
142141
exclude group: "commons-logging", name: "commons-logging"
143142
}
144-
dependency("org.apache.httpcomponents:httpasyncclient:4.1.4") {
145-
exclude group: "commons-logging", name: "commons-logging"
143+
dependencySet(group: 'com.squareup.okhttp3', version: '3.14.9') {
144+
entry 'okhttp'
145+
entry 'mockwebserver'
146146
}
147-
dependency 'org.apache.httpcomponents.client5:httpclient5:5.1'
148-
dependency 'org.apache.httpcomponents.core5:httpcore5-reactive:5.1.1'
149-
dependency "org.eclipse.jetty:jetty-reactive-httpclient:3.0.4"
150147

151148
dependency "org.jruby:jruby:9.3.2.0"
152149
dependency "org.python:jython-standalone:2.7.1"
@@ -180,7 +177,7 @@ configure(allprojects) { project ->
180177
exclude group: "org.hamcrest", name: "hamcrest-core"
181178
}
182179
}
183-
dependencySet(group: 'org.mockito', version: '4.0.0') {
180+
dependencySet(group: 'org.mockito', version: '4.1.0') {
184181
entry('mockito-core') {
185182
exclude group: "org.hamcrest", name: "hamcrest-core"
186183
}
@@ -201,7 +198,6 @@ configure(allprojects) { project ->
201198
dependency "org.skyscreamer:jsonassert:1.5.0"
202199
dependency "com.jayway.jsonpath:json-path:2.6.0"
203200
dependency "org.bouncycastle:bcpkix-jdk15on:1.66"
204-
dependency "com.jamonapi:jamon:2.82"
205201

206202
dependency "javax.cache:cache-api:1.1.1"
207203
dependency "javax.money:money-api:1.1"

spring-aop/spring-aop.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ dependencies {
55
api(project(":spring-core"))
66
optional("org.aspectj:aspectjweaver")
77
optional("org.apache.commons:commons-pool2")
8-
optional("com.jamonapi:jamon")
98
testImplementation(testFixtures(project(":spring-beans")))
109
testImplementation(testFixtures(project(":spring-core")))
1110
testFixturesImplementation(testFixtures(project(":spring-beans")))

spring-aop/src/main/java/org/springframework/aop/interceptor/JamonPerformanceMonitorInterceptor.java

Lines changed: 0 additions & 144 deletions
This file was deleted.

spring-aop/src/main/java/org/springframework/aop/interceptor/PerformanceMonitorInterceptor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -31,7 +31,6 @@
3131
* @author Dmitriy Kopylenko
3232
* @author Rob Harrop
3333
* @see org.springframework.util.StopWatch
34-
* @see JamonPerformanceMonitorInterceptor
3534
*/
3635
@SuppressWarnings("serial")
3736
public class PerformanceMonitorInterceptor extends AbstractMonitoringInterceptor {

spring-aop/src/test/java/org/springframework/aop/interceptor/JamonPerformanceMonitorInterceptorTests.java

Lines changed: 0 additions & 79 deletions
This file was deleted.

spring-web/spring-web.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@ dependencies {
3535
optional("org.eclipse.jetty:jetty-reactive-httpclient")
3636
optional('org.apache.httpcomponents.client5:httpclient5')
3737
optional('org.apache.httpcomponents.core5:httpcore5-reactive')
38-
optional("com.squareup.okhttp3:okhttp")
3938
optional("org.apache.httpcomponents:httpclient")
40-
optional("org.apache.httpcomponents:httpasyncclient")
39+
optional("com.squareup.okhttp3:okhttp")
4140
optional("com.fasterxml.woodstox:woodstox-core")
4241
optional("com.fasterxml:aalto-xml")
4342
optional("com.fasterxml.jackson.core:jackson-databind")

spring-webflux/spring-webflux.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ dependencies {
2121
exclude group: "jakarta.servlet", module: "jakarta.servlet-api"
2222
}
2323
optional("org.eclipse.jetty.websocket:websocket-jetty-client")
24-
optional("io.undertow:undertow-websockets-jsr-jakartaee9")
24+
optional("io.undertow:undertow-websockets-jsr-jakarta")
2525
optional("org.apache.httpcomponents:httpclient")
2626
optional("org.jetbrains.kotlin:kotlin-reflect")
2727
optional("org.jetbrains.kotlin:kotlin-stdlib")

spring-websocket/spring-websocket.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ dependencies {
1818
}
1919
optional("org.eclipse.jetty.websocket:websocket-jetty-client")
2020
optional("org.eclipse.jetty:jetty-client")
21-
optional("io.undertow:undertow-servlet-jakartaee9")
22-
optional("io.undertow:undertow-websockets-jsr-jakartaee9")
21+
optional("io.undertow:undertow-servlet-jakarta")
22+
optional("io.undertow:undertow-websockets-jsr-jakarta")
2323
optional("com.fasterxml.jackson.core:jackson-databind")
2424
testImplementation(testFixtures(project(":spring-core")))
2525
testImplementation(testFixtures(project(":spring-web")))

0 commit comments

Comments
 (0)