Skip to content

Commit 8e8f41e

Browse files
Update new CF module naming and build to Java 11
1 parent 7dd241b commit 8e8f41e

File tree

7 files changed

+9
-7
lines changed

7 files changed

+9
-7
lines changed

instrumentation/java.completable-future-jdk9/README.md renamed to instrumentation/java.completable-future-jdk11/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
# java.completable-future-jdk9
1+
# java.completable-future-jdk11
22

33
This instrumentation weaves `java.util.concurrent.CompletableFuture` to trace code execution across asynchronous boundaries.
44

5-
## JDK9 Updates
5+
## JDK11 Updates
66

7-
This instrumentation applies to JDK9 and higher. This was necessary in order to add support for the method
8-
`completeAsync`, which was introduced with Java 9.
7+
This instrumentation applies to JRE 11 and higher. This was necessary in order to add support for the method
8+
`completeAsync` (introduced with Java 9).
9+
10+
JREs 8, 9 and 10 use the previous version of this module, `java.completable-future-jdk8u40`.
911

1012
The instrumentation is otherwise the same as the `java.completable-future-jdk8u40`, and
1113
works as described below.

instrumentation/java.completable-future-jdk9/build.gradle renamed to instrumentation/java.completable-future-jdk11/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies {
66

77

88
jar {
9-
manifest { attributes 'Implementation-Title': 'com.newrelic.instrumentation.java.completable-future-jdk9' }
9+
manifest { attributes 'Implementation-Title': 'com.newrelic.instrumentation.java.completable-future-jdk11' }
1010
}
1111

1212
verifyInstrumentation {
@@ -15,7 +15,7 @@ verifyInstrumentation {
1515

1616
java {
1717
toolchain {
18-
languageVersion.set(JavaLanguageVersion.of(9))
18+
languageVersion.set(JavaLanguageVersion.of(11))
1919
}
2020
}
2121

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ include 'instrumentation:hystrix-1.4'
150150
include 'instrumentation:jakarta.xml'
151151
include 'instrumentation:java.completable-future-jdk8'
152152
include 'instrumentation:java.completable-future-jdk8u40'
153-
include 'instrumentation:java.completable-future-jdk9'
153+
include 'instrumentation:java.completable-future-jdk11'
154154
include 'instrumentation:java.logging-jdk8'
155155
include 'instrumentation:java.process'
156156
include 'instrumentation:java-io'

0 commit comments

Comments
 (0)