Slackbot
11/30/2022, 11:58 PMChris Lee
12/01/2022, 12:00 AMChris Lee
12/01/2022, 12:00 AMEric Kolotyluk
12/01/2022, 12:01 AMEric Kolotyluk
12/01/2022, 12:02 AMbuild.gradle
have to do with Java 19?Chris Lee
12/01/2022, 12:02 AMPROCESS_LIB_INSTRUMENTATION
enables the instrumentation.Eric Kolotyluk
12/01/2022, 12:02 AMChris Lee
12/01/2022, 12:03 AM--stacktrace
will tell you the class it can’t handle.Chris Lee
12/01/2022, 12:03 AMEric Kolotyluk
12/01/2022, 12:04 AMPROCESS_LIB_INSTRUMENTATION
is my own defined environment variable...
My code base is Java 8, and why would changing build.gradle
matter?Chris Lee
12/01/2022, 12:05 AMChris Lee
12/01/2022, 12:05 AMEric Kolotyluk
12/01/2022, 12:06 AM// environment 'PROCESS_LIB_INSTRUMENTATION','true'
// environment 'PROCESS_LIB_BUNDLE_LOG_LEVEL','info'
Causes the same errorChris Lee
12/01/2022, 12:06 AMEric Kolotyluk
12/01/2022, 12:08 AMbuild.gradle
causes the error. Reverting the file, everything works fineChris Lee
12/01/2022, 12:08 AMEric Kolotyluk
12/01/2022, 12:09 AMEric Kolotyluk
12/01/2022, 12:10 AMChris Lee
12/01/2022, 12:10 AMEric Kolotyluk
12/01/2022, 12:10 AMChris Lee
12/01/2022, 12:11 AMChris Lee
12/01/2022, 12:11 AMEric Kolotyluk
12/01/2022, 12:12 AMbuild.gradle
file, no error...
When I modify the file, the error happens. This is insane regardless of everything else.Chris Lee
12/01/2022, 12:13 AMEric Kolotyluk
12/01/2022, 12:13 AMEric Kolotyluk
12/01/2022, 12:14 AMEric Kolotyluk
12/01/2022, 12:14 AMChris Lee
12/01/2022, 12:14 AMChris Lee
12/01/2022, 12:15 AMgradle.properties
in your home directory.Chris Lee
12/01/2022, 12:15 AM~/.gradle/gradle.properties
Eric Kolotyluk
12/01/2022, 12:19 AMEric Kolotyluk
12/01/2022, 12:23 AM./gradlew clean test -Dorg.gradle.java.home=//Library/Java/JavaVirtualMachines/jdk-17.0.1.jdk/Contents/Home
Works, but the properties files do not...Chris Lee
12/01/2022, 12:25 AMorg.gradle.java.home=/Library/Java/JavaVirtualMachines/jdk-17.0.1.jdk/Contents/Home
in ~/.gradle/gradle.propertiesEric Kolotyluk
12/01/2022, 12:25 AM~/.gradle/gradle.properties
yet because I am using Java 19 on another project using Gradle 8...Chris Lee
12/01/2022, 12:26 AM./gradlew clean test -Porg.gradle.java.home=//Library/Java/JavaVirtualMachines/jdk-17.0.1.jdk/Contents/Home
Eric Kolotyluk
12/01/2022, 12:28 AMChris Lee
12/01/2022, 12:29 AMChris Lee
12/01/2022, 12:30 AMEric Kolotyluk
12/01/2022, 12:30 AMEric Kolotyluk
12/01/2022, 12:30 AMChris Lee
12/01/2022, 12:31 AMEric Kolotyluk
12/01/2022, 12:31 AMChris Lee
12/01/2022, 12:31 AMEric Kolotyluk
12/01/2022, 12:35 AMChris Lee
12/01/2022, 12:36 AMEric Kolotyluk
12/01/2022, 12:36 AMVampire
12/01/2022, 7:52 AMThe next thing I want to do is upgradle (I made the word up)
Actually you didn't, at least the Gradle guys use it too when they update the Gradle build to a new Gradle version. :-)
Vampire
12/01/2022, 7:58 AMEric Kolotyluk
12/02/2022, 1:07 AMVampire
12/02/2022, 1:18 AMEric Kolotyluk
12/02/2022, 1:20 AM