Skip to content

Commit 6e4ccac

Browse files
laurittrask
andauthored
Update conventions/src/main/kotlin/otel.java-conventions.gradle.kts
Co-authored-by: Trask Stalnaker <[email protected]>
1 parent 3db6fbc commit 6e4ccac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conventions/src/main/kotlin/otel.java-conventions.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ tasks.withType<JavaCompile>().configureEach {
9191
if (name.contains("Test")) {
9292
// serialVersionUID is basically guaranteed to be useless in tests
9393
compilerArgs.add("-Xlint:-serial")
94-
// when code is compiled with jdk 21 and executed with jdk 8 -parameters flag is needed to avoid
94+
// when code is compiled with jdk 21 and executed with jdk 8, the -parameters flag is needed to avoid
9595
// java.lang.reflect.MalformedParametersException: Invalid parameter name ""
9696
// when junit calls java.lang.reflect.Executable.getParameters() on the constructor of a
9797
// non-static nested test class

0 commit comments

Comments
 (0)