Skip to content

Commit 8cb60f1

Browse files
dependabot[bot]oldratlee
authored andcommitted
chore(deps): upgrade dependencies/plugins 🛠️
bump junit-bom from 5.9.3 to 5.10.0 (#1) bump kotlin.version from 1.9.0 to 1.9.10 (#2) bump maven-enforcer-plugin 3.3.0 to 3.4.0 (#3) bump slf4j.version from 2.0.7 to 2.0.9 (#4) bump kotest.version from 5.6.2 to 5.7.2 (#6) bump maven-enforcer-plugin 3.4.0 to 3.4.1 (#7) bump maven-javadoc-plugin 3.5.0 to 3.6.0 (#8) bump maven-shade-plugin 3.5.0 to 3.5.1 (#9) bump spotbugs-maven-plugin 4.7.3.5 to 4.7.3.6 (#10) bump spotbugs-annotations 4.7.3 to 4.8.0 (#11) bump jacoco-maven-plugin from 0.8.10 to 0.8.11 (#12) bump maven-dependency-plugin 3.6.0 to 3.6.1 (#13) bump maven-surefire-plugin 3.1.2 to 3.2.1 (#14) bump maven-clean-plugin 3.3.1 to 3.3.2 (#15) bump kotlin.version from 1.9.10 to 1.9.20 (#16) bump moditect-maven-plugin 1.0.0.Final to 1.1.0 (#17) bump junit-bom from 5.10.0 to 5.10.1 (#18) bump kotest.version from 5.7.2 to 5.8.0 (#19) bump maven-javadoc-plugin 3.6.0 to 3.6.2 (#20) bump spotbugs-annotations 4.8.0 to 4.8.1 (#21) bump maven-surefire-plugin 3.2.1 to 3.2.2 (#22) bump spotbugs-maven-plugin 4.7.3.6 to 4.8.1.0 (#23) bump annotations from 24.0.1 to 24.1.0 (#24) bump exec-maven-plugin from 3.1.0 to 3.1.1 (#25) bump kotlin.version from 1.9.20 to 1.9.21 (#26) bump spotbugs-annotations from 4.8.1 to 4.8.2 (#27) bump maven-javadoc-plugin from 3.6.2 to 3.6.3 (#28) bump spotbugs-maven-plugin from 4.8.1.0 to 4.8.2.0 (#29) bump maven-surefire-plugin from 3.2.2 to 3.2.3 (#31) bump spotbugs-annotations from 4.8.2 to 4.8.3 (#30) bump actions/setup-java from 3 to 4 (#33) bump kotlin.version from 1.9.21 to 1.9.22 (#35) bump javassist from 3.29.2-GA to 3.30.2-GA (#36) bump maven-compiler-plugin from 3.11.0 to 3.12.1 (#37) bump slf4j.version from 2.0.9 to 2.0.10 (#38) bump slf4j.version from 2.0.10 to 2.0.11 (#39) bump maven-surefire-plugin 3.2.3 to 3.2.5 (#40) bump spotbugs-maven-plugin 4.8.2.0 to 4.8.3.0 (#41) bump codecov/codecov-action from 3 to 4 (#42) bump junit-bom from 5.10.1 to 5.10.2 (#43) bump slf4j.version from 2.0.11 to 2.0.12 (#44) bump spotbugs-maven-plugin from 4.8.3.0 to 4.8.3.1 (#45) bump maven-shade-plugin from 3.5.1 to 3.5.2 (#46) bump exec-maven-plugin from 3.1.1 to 3.2.0 (#47) bump kotlin.version from 1.9.22 to 1.9.23 (#48) bump maven-gpg-plugin from 3.1.0 to 3.2.0 (#49) bump kotest.version from 5.8.0 to 5.8.1 (#50) bump moditect-maven-plugin from 1.1.0 to 1.2.0.Final (#51) bump maven-gpg-plugin from 3.2.0 to 3.2.1 (#52) bump maven-compiler-plugin from 3.12.1 to 3.13.0 (#53) bump maven-gpg-plugin from 3.2.1 to 3.2.2 (#54) bump moditect-maven-plugin from 1.2.0.Final to 1.2.1.Final (#55) bump jacoco-maven-plugin from 0.8.11 to 0.8.12 (#56) bump maven-source-plugin from 3.3.0 to 3.3.1 (#57) bump spotbugs-annotations from 4.8.3 to 4.8.4 (#58) bump spotbugs-maven-plugin from 4.8.3.1 to 4.8.4.0 (#59) bump maven-gpg-plugin from 3.2.2 to 3.2.3 (#60) bump slf4j.version from 2.0.12 to 2.0.13 (#61) bump maven-jar-plugin from 3.3.0 to 3.4.0 (#62) bump maven-gpg-plugin from 3.2.3 to 3.2.4 (#63) bump maven-jar-plugin from 3.4.0 to 3.4.1 (#64) bump maven-shade-plugin from 3.5.2 to 3.5.3 (#65) bump maven-install-plugin from 3.1.1 to 3.1.2 (#66) bump maven-deploy-plugin from 3.1.1 to 3.1.2 (#67) bump spotbugs-annotations from 4.8.4 to 4.8.5 (#68) bump spotbugs-maven-plugin from 4.8.4.0 to 4.8.5.0 (#69) bump kotlin.version from 1.9.23 to 1.9.24 (#70) bump kotest.version from 5.8.1 to 5.9.0 (#71) bump kotlin.version from 1.9.24 to 2.0.0 (#72) bump exec-maven-plugin from 3.2.0 to 3.3.0 (#73) bump maven-enforcer-plugin from 3.4.1 to 3.5.0 (#74) bump maven-shade-plugin from 3.5.3 to 3.6.0 (#75) bump maven-javadoc-plugin from 3.6.3 to 3.7.0 (#76) bump kotest.version from 5.9.0 to 5.9.1 (#77) bump maven-dependency-plugin from 3.6.1 to 3.7.0 (#78) bump maven-surefire-plugin from 3.2.5 to 3.3.0 (#79) bump spotbugs-annotations from 4.8.5 to 4.8.6 (#80) bump maven-jar-plugin from 3.4.1 to 3.4.2 (#81) bump maven-clean-plugin from 3.3.2 to 3.4.0 (#82) bump maven-dependency-plugin from 3.7.0 to 3.7.1 (#83) bump spotbugs-maven-plugin from 4.8.5.0 to 4.8.6.0 (#84) bump junit-bom from 5.10.2 to 5.10.3 (#85) bump spotbugs-maven-plugin from 4.8.6.0 to 4.8.6.1 (#86) bump moditect-maven-plugin from 1.2.1.Final to 1.2.2.Final (#87) bump spotbugs-maven-plugin from 4.8.6.1 to 4.8.6.2 (#88) bump maven-surefire-plugin from 3.3.0 to 3.3.1 (#89) bump maven-javadoc-plugin from 3.7.0 to 3.8.0 (#90) bump kotlin.version from 2.0.0 to 2.0.10 (#91) bump slf4j.version from 2.0.13 to 2.0.14 (#92) bump exec-maven-plugin from 3.3.0 to 3.4.0 (#93) bump slf4j.version from 2.0.14 to 2.0.15 (#94) bump slf4j.version from 2.0.15 to 2.0.16 (#95) bump maven-gpg-plugin from 3.2.4 to 3.2.5 (#96) bump exec-maven-plugin from 3.4.0 to 3.4.1 (#97) bump junit-bom from 5.10.3 to 5.11.0 (#98) bump maven-site-plugin from 3.12.1 to 3.20.0 (#99) bump maven-surefire-plugin from 3.3.1 to 3.4.0 (#100) bump maven-install-plugin from 3.1.2 to 3.1.3 (#101) bump maven-deploy-plugin from 3.1.2 to 3.1.3 (#102) bump kotlin.version from 2.0.10 to 2.0.20 (#103) bump maven-dependency-plugin from 3.7.1 to 3.8.0 (#104) bump maven-surefire-plugin from 3.4.0 to 3.5.0 (#105) bump maven-javadoc-plugin from 3.8.0 to 3.10.0 (#106) bump spotbugs-maven-plugin from 4.8.6.2 to 4.8.6.3 (#107) bump maven-gpg-plugin from 3.2.5 to 3.2.6 (#108) bump spotbugs-maven-plugin from 4.8.6.3 to 4.8.6.4 (#109) bump annotations from 24.1.0 to 25.0.0 (#110) bump junit-bom from 5.11.0 to 5.11.1 (#111) bump maven-gpg-plugin from 3.2.6 to 3.2.7 (#112) bump maven-javadoc-plugin from 3.10.0 to 3.10.1 (#113) bump junit-bom from 5.11.1 to 5.11.2 (#114) bump maven-surefire-plugin from 3.5.0 to 3.5.1.(#115) bump annotations from 25.0.0 to 26.0.0 (#116) bump kotlin.version from 2.0.20 to 2.0.21 (#117) bump annotations from 26.0.0 to 26.0.1 (#118) bump junit-bom from 5.11.2 to 5.11.3 (#119) bump spotbugs-maven-plugin from 4.8.6.4 to 4.8.6.5 (#120) bump maven-site-plugin from 3.20.0 to 3.21.0 (#121) bump exec-maven-plugin from 3.4.1 to 3.5.0 (#122) bump maven-dependency-plugin from 3.8.0 to 3.8.1 (#123) bump maven-javadoc-plugin from 3.10.1 to 3.11.1 (#124) bump maven-surefire-plugin from 3.5.1 to 3.5.2 (#125) bump spotbugs-maven-plugin from 4.8.6.5 to 4.8.6.6 (#126) bump kotlin.version from 2.0.21 to 2.1.0 (#128) bump maven-javadoc-plugin from 3.11.1 to 3.11.2 (#129) bump junit-bom from 5.11.3 to 5.11.4 (#130) bump spotbugs-annotations from 4.8.6 to 4.9.0 (#131) bump annotations from 26.0.1 to 26.0.2 (#132) bump kotlin.version from 2.1.0 to 2.1.10 (#133) bump spotbugs-annotations from 4.9.0 to 4.9.1 (#134) bump spotbugs-maven-plugin from 4.8.6.6 to 4.9.1.0 (#135) bump maven-clean-plugin from 3.4.0 to 3.4.1 (#136) bump junit-bom from 5.11.4 to 5.12.0 (#138) bump maven-compiler-plugin from 3.13.0 to 3.14.0 (#137) bump slf4j.version from 2.0.16 to 2.0.17 (#139) bump maven-deploy-plugin from 3.1.3 to 3.1.4 (#140) bump maven-install-plugin from 3.1.3 to 3.1.4 (#141) bump spotbugs-annotations from 4.9.1 to 4.9.2 (#142) bump junit-bom from 5.12.0 to 5.12.1 (#144) bump spotbugs-maven-plugin from 4.9.1.0 to 4.9.3.0 (#145) bump spotbugs-annotations from 4.9.2 to 4.9.3 (#146)
1 parent 9d8936e commit 8cb60f1

5 files changed

Lines changed: 33 additions & 40 deletions

File tree

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ updates:
99
directory: /
1010
schedule:
1111
interval: daily
12+
- package-ecosystem: "github-actions"
13+
directory: "/"
14+
schedule:
15+
interval: "daily"

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
max-parallel: 64
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020

2121
- name: Setup Java 17
22-
uses: actions/setup-java@v3
22+
uses: actions/setup-java@v4
2323
with:
2424
java-version: 17
2525
distribution: temurin
@@ -57,7 +57,7 @@ jobs:
5757
STUDY_AGENT_RUN_MODE: only-hello-agent-twice
5858

5959
- name: Setup Java 8
60-
uses: actions/setup-java@v3
60+
uses: actions/setup-java@v4
6161
with:
6262
java-version: 8
6363
distribution: zulu

.github/workflows/strong_ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: CI by multiply java versions
1212

1313
steps:
14-
- uses: actions/checkout@v3
14+
- uses: actions/checkout@v4
1515
with:
1616
submodules: recursive
1717

pom.xml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -65,18 +65,18 @@
6565
<!-- need argLine to use `@{argLine}`(e.g. `maven-surefire-plugin`) -->
6666
<argLine/>
6767

68-
<spotbugs.annotations.version>4.7.3</spotbugs.annotations.version>
68+
<spotbugs.annotations.version>4.9.3</spotbugs.annotations.version>
6969
<jsr305.version>3.0.2</jsr305.version>
70-
<jetbrains.annotations.version>24.0.1</jetbrains.annotations.version>
70+
<jetbrains.annotations.version>26.0.2</jetbrains.annotations.version>
7171

72-
<kotlin.version>1.9.0</kotlin.version>
72+
<kotlin.version>2.1.10</kotlin.version>
7373
<kotlin.compiler.jvmTarget>${maven.compiler.source}</kotlin.compiler.jvmTarget>
7474

75-
<slf4j.version>2.0.7</slf4j.version>
75+
<slf4j.version>2.0.17</slf4j.version>
7676

7777
<!-- testing dependencies versions -->
78-
<junit5.version>5.9.3</junit5.version>
79-
<kotest.version>5.6.2</kotest.version>
78+
<junit5.version>5.12.1</junit5.version>
79+
<kotest.version>5.9.1</kotest.version>
8080
</properties>
8181

8282
<dependencies>
@@ -173,7 +173,7 @@
173173
<dependency>
174174
<groupId>org.javassist</groupId>
175175
<artifactId>javassist</artifactId>
176-
<version>3.29.2-GA</version>
176+
<version>3.30.2-GA</version>
177177
<optional>true</optional>
178178
</dependency>
179179

@@ -320,7 +320,7 @@
320320
<plugin>
321321
<groupId>org.apache.maven.plugins</groupId>
322322
<artifactId>maven-clean-plugin</artifactId>
323-
<version>3.3.1</version>
323+
<version>3.4.1</version>
324324
</plugin>
325325
<plugin>
326326
<groupId>org.apache.maven.plugins</groupId>
@@ -342,7 +342,7 @@
342342
<plugin>
343343
<groupId>org.apache.maven.plugins</groupId>
344344
<artifactId>maven-compiler-plugin</artifactId>
345-
<version>3.11.0</version>
345+
<version>3.14.0</version>
346346
<configuration>
347347
<!-- https://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#compilerArgs -->
348348
<compilerArgs>
@@ -354,23 +354,23 @@
354354
<plugin>
355355
<groupId>org.apache.maven.plugins</groupId>
356356
<artifactId>maven-surefire-plugin</artifactId>
357-
<version>3.1.2</version>
357+
<version>3.5.2</version>
358358
</plugin>
359359
<plugin>
360360
<groupId>org.apache.maven.plugins</groupId>
361361
<artifactId>maven-jar-plugin</artifactId>
362-
<version>3.3.0</version>
362+
<version>3.4.2</version>
363363
</plugin>
364364
<plugin>
365365
<!-- https://github.com/moditect/moditect -->
366366
<groupId>org.moditect</groupId>
367367
<artifactId>moditect-maven-plugin</artifactId>
368-
<version>1.0.0.Final</version>
368+
<version>1.2.2.Final</version>
369369
</plugin>
370370
<plugin>
371371
<groupId>org.apache.maven.plugins</groupId>
372372
<artifactId>maven-shade-plugin</artifactId>
373-
<version>3.5.0</version>
373+
<version>3.6.0</version>
374374
<configuration>
375375
<shadeSourcesContent>true</shadeSourcesContent>
376376
<dependencyReducedPomLocation>
@@ -381,52 +381,52 @@
381381
<plugin>
382382
<groupId>org.apache.maven.plugins</groupId>
383383
<artifactId>maven-source-plugin</artifactId>
384-
<version>3.3.0</version>
384+
<version>3.3.1</version>
385385
</plugin>
386386
<plugin>
387387
<groupId>org.apache.maven.plugins</groupId>
388388
<artifactId>maven-javadoc-plugin</artifactId>
389-
<version>3.5.0</version>
389+
<version>3.11.2</version>
390390
</plugin>
391391
<plugin>
392392
<groupId>org.apache.maven.plugins</groupId>
393393
<artifactId>maven-gpg-plugin</artifactId>
394-
<version>3.1.0</version>
394+
<version>3.2.7</version>
395395
</plugin>
396396
<plugin>
397397
<groupId>org.apache.maven.plugins</groupId>
398398
<artifactId>maven-site-plugin</artifactId>
399-
<version>3.12.1</version>
399+
<version>3.21.0</version>
400400
</plugin>
401401
<plugin>
402402
<groupId>org.apache.maven.plugins</groupId>
403403
<artifactId>maven-install-plugin</artifactId>
404-
<version>3.1.1</version>
404+
<version>3.1.4</version>
405405
</plugin>
406406
<plugin>
407407
<groupId>org.apache.maven.plugins</groupId>
408408
<artifactId>maven-deploy-plugin</artifactId>
409-
<version>3.1.1</version>
409+
<version>3.1.4</version>
410410
</plugin>
411411
<plugin>
412412
<groupId>org.apache.maven.plugins</groupId>
413413
<artifactId>maven-enforcer-plugin</artifactId>
414-
<version>3.3.0</version>
414+
<version>3.5.0</version>
415415
</plugin>
416416
<plugin>
417417
<groupId>com.github.spotbugs</groupId>
418418
<artifactId>spotbugs-maven-plugin</artifactId>
419-
<version>4.7.3.5</version>
419+
<version>4.9.3.0</version>
420420
</plugin>
421421
<plugin>
422422
<groupId>org.jacoco</groupId>
423423
<artifactId>jacoco-maven-plugin</artifactId>
424-
<version>0.8.10</version>
424+
<version>0.8.12</version>
425425
</plugin>
426426
<plugin>
427427
<groupId>org.apache.maven.plugins</groupId>
428428
<artifactId>maven-dependency-plugin</artifactId>
429-
<version>3.6.0</version>
429+
<version>3.8.1</version>
430430
</plugin>
431431
<plugin>
432432
<!--
@@ -435,7 +435,7 @@
435435
-->
436436
<groupId>org.codehaus.mojo</groupId>
437437
<artifactId>exec-maven-plugin</artifactId>
438-
<version>3.1.0</version>
438+
<version>3.5.0</version>
439439
</plugin>
440440
</plugins>
441441
</pluginManagement>

utils/src/main/java/io/foldright/study/agent/utils/transform/ClassInfo.java

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,7 @@ class ClassInfo {
1616
private final byte[] classFileBuffer;
1717
private final ClassLoader loader;
1818

19-
// SuppressFBWarnings for classFileBuffer/loader parameter:
20-
// SuppressFBWarnings for classFileBuffer parameter:
21-
// [ERROR] new com.alibaba.ttl.threadpool.agent.internal.transformlet.ClassInfo(String, byte[], ClassLoader)
22-
// may expose internal representation by storing an externally mutable object
23-
// into ClassInfo.classFileBuffer/loader
24-
public ClassInfo(@NonNull String className,
25-
@NonNull @SuppressFBWarnings({"EI_EXPOSE_REP2"}) byte[] classFileBuffer,
26-
@Nullable @SuppressFBWarnings({"EI_EXPOSE_REP2"}) ClassLoader loader) {
19+
public ClassInfo(@NonNull String className, @NonNull byte[] classFileBuffer, @Nullable ClassLoader loader) {
2720
this.className = className;
2821
this.classFileBuffer = classFileBuffer;
2922
this.loader = loader;
@@ -37,10 +30,6 @@ public String getClassName() {
3730
private CtClass ctClass;
3831

3932
@NonNull
40-
@SuppressFBWarnings({"EI_EXPOSE_REP"})
41-
// [ERROR] Medium: com.alibaba.ttl.threadpool.agent.transformlet.ClassInfo.getCtClass()
42-
// may expose internal representation
43-
// by returning ClassInfo.ctClass [com.alibaba.ttl.threadpool.agent.transformlet.ClassInfo]
4433
public CtClass getCtClass() throws IOException {
4534
if (ctClass != null) return ctClass;
4635

0 commit comments

Comments
 (0)