diff --git a/.mvn/checksums.sha256 b/.mvn/checksums.sha256 index 8967f8f20f2..ce8cf784d15 100644 --- a/.mvn/checksums.sha256 +++ b/.mvn/checksums.sha256 @@ -553,13 +553,21 @@ log4j:log4j:pom:1.2.14 6c243babab94ee5fdc1b31d0c4fbb7ffeadf8373823532e0d03adb29f logkit:logkit:pom:1.0.1 3de328dfa1b563ba6dfc5829774cf2f8dab0dc9528ed2731c35251ab7fd6c4c6 net.bytebuddy:byte-buddy-agent:jar:1.12.16 38e258787665ac95e4f42ff1ca5b7550093762d289a61d436a26b6a25386358e net.bytebuddy:byte-buddy-agent:jar:1.12.19 3a70240de7cdcde04e7c504c2327d7035b9c25ae0206881e3bf4e6798a273ed8 +net.bytebuddy:byte-buddy-agent:jar:1.12.20 e898463a5ac6964ec8847f44e43759a97580be26ceef1fd211dc888e73519c7b net.bytebuddy:byte-buddy-android:jar:1.12.19 bb73d3b9ace5a60a9a9aa1701761073b3df3baf79ff463aed6cd94b724fd3ba9 +net.bytebuddy:byte-buddy-android:jar:1.12.20 f43b8b7eb840f6140135066224f0e6b565b9becb05345fdc572a66bfb92df0aa net.bytebuddy:byte-buddy-dep:jar:1.12.19 a85bb853ec6ec156b10ea0b5b0e38ac0f89c6c2bc89dd0358772a0dff2eb85c9 +net.bytebuddy:byte-buddy-dep:jar:1.12.20 d7e15d3ccc0508e78a146f1be420779eb3e2e9a537e3c8add3cd6d802c9a615e net.bytebuddy:byte-buddy-maven-plugin:jar:1.12.19 3419e2afbfac4f21ef709ee3f8f08fc1d71001e07ba2524a0bb2a3c28f3e1087 +net.bytebuddy:byte-buddy-maven-plugin:jar:1.12.20 48a36e2e8c2dbe2b3673ef8bf6be22b021cfca35d6205a3d5e722f74db42d52b net.bytebuddy:byte-buddy-maven-plugin:pom:1.12.19 c2051f8cbdf328692f36077627be07168334ee9167b72e5bf608eae624163b4f +net.bytebuddy:byte-buddy-maven-plugin:pom:1.12.20 2d112ff342e7db7da484d038807749c1a87c81419b789a86b950a37bdd65b207 net.bytebuddy:byte-buddy-parent:pom:1.12.19 72ab6fef409e812921f4728b3c4b6ef4fa53bc25fabb0488fc2cae367368b54d +net.bytebuddy:byte-buddy-parent:pom:1.12.20 ac59dd7bc0316c51ab29e7c44ae7941ba8c7bf84789edb1dc8fbef2f16535b99 net.bytebuddy:byte-buddy:jar:1.12.19 030704139e46f32c38d27060edee9e0676b0a0fff8a8be53461515154ba8a7be +net.bytebuddy:byte-buddy:jar:1.12.20 0a9b2795e0e2391117062f0fc7f6ae98fa3c2a7c927847ff1e01bb7cffcd9167 net.bytebuddy:byte-buddy:pom:1.12.19 435fb8664aa9b7e120c8dd6c707d4eafa642fa262dff6d5e3f71dc25c69e89eb +net.bytebuddy:byte-buddy:pom:1.12.20 46353d5c52659c40f0f54d05c757665552e492be36087c19307598d1bf07bbfb net.i2p.crypto:eddsa:jar:0.3.0 4dda1120db856640dbec04140ed23242215a075fe127bdefa0dcfa29fb31267d net.i2p.crypto:eddsa:pom:0.3.0 b6b13878e4bae8b768d7ea5732cb4d66ab2f5e9fe707c0a1a776cde9de52051b net.java.dev.jna:jna-platform:jar:5.12.1 8ce969116cac95bd61b07a8d5e07174b352e63301473caac72c395e3c08488d2 diff --git a/byte-buddy-agent/pom.xml b/byte-buddy-agent/pom.xml index 8674756eb18..1b1a3d49830 100644 --- a/byte-buddy-agent/pom.xml +++ b/byte-buddy-agent/pom.xml @@ -69,7 +69,7 @@ net.bytebuddy byte-buddy - 1.12.19 + 1.12.20 test diff --git a/byte-buddy-dep/pom.xml b/byte-buddy-dep/pom.xml index e99f3b82440..bbe80e7bd62 100644 --- a/byte-buddy-dep/pom.xml +++ b/byte-buddy-dep/pom.xml @@ -127,7 +127,7 @@ net.bytebuddy byte-buddy-maven-plugin - 1.12.19 + 1.12.20 compile @@ -142,7 +142,7 @@ net.bytebuddy byte-buddy - 1.12.19 + 1.12.20 net.bytebuddy.build.HashCodeAndEqualsPlugin$WithNonNullableFields @@ -154,13 +154,13 @@ net.bytebuddy byte-buddy - 1.12.19 + 1.12.20 net.bytebuddy.build.CachedReturnPlugin net.bytebuddy byte-buddy - 1.12.19 + 1.12.20 net.bytebuddy.build.AccessControllerPlugin @@ -172,13 +172,13 @@ net.bytebuddy byte-buddy - 1.12.19 + 1.12.20 net.bytebuddy.build.DispatcherAnnotationPlugin net.bytebuddy byte-buddy - 1.12.19 + 1.12.20 net.bytebuddy.build.RepeatedAnnotationPlugin diff --git a/byte-buddy-gradle-plugin/src/main/java/net/bytebuddy/build/gradle/AbstractByteBuddyTask.java b/byte-buddy-gradle-plugin/src/main/java/net/bytebuddy/build/gradle/AbstractByteBuddyTask.java index 2c418844c85..d2f0851286f 100644 --- a/byte-buddy-gradle-plugin/src/main/java/net/bytebuddy/build/gradle/AbstractByteBuddyTask.java +++ b/byte-buddy-gradle-plugin/src/main/java/net/bytebuddy/build/gradle/AbstractByteBuddyTask.java @@ -399,7 +399,7 @@ protected void doApply(Plugin.Engine.Source source, Plugin.Engine.Target target) } } if (transformations.isEmpty()) { - getLogger().warn("No transformations are specified or discovered. Skipping plugin application."); + getLogger().warn("No transformations are specified or discovered. Application will be non-operational."); } else { getLogger().debug("{} plugins are being applied via configuration and discovery", transformations.size()); } diff --git a/byte-buddy-gradle-plugin/src/main/java/net/bytebuddy/build/gradle/AbstractByteBuddyTaskConfiguration.java b/byte-buddy-gradle-plugin/src/main/java/net/bytebuddy/build/gradle/AbstractByteBuddyTaskConfiguration.java index 185cc7e1629..c06322bf574 100644 --- a/byte-buddy-gradle-plugin/src/main/java/net/bytebuddy/build/gradle/AbstractByteBuddyTaskConfiguration.java +++ b/byte-buddy-gradle-plugin/src/main/java/net/bytebuddy/build/gradle/AbstractByteBuddyTaskConfiguration.java @@ -67,8 +67,8 @@ protected AbstractByteBuddyTaskConfiguration(String name, SourceSet sourceSet) { */ public void execute(final Project project) { @SuppressWarnings("unchecked") final S extension = (S) project.getExtensions().getByName(name); - if (extension.getTransformations().isEmpty()) { - project.getLogger().debug("Not configuring task for source set '{}' as no transformations are defined", sourceSet.getName()); + if (extension.getTransformations().isEmpty() && extension.getDiscovery() == Discovery.NONE) { + project.getLogger().debug("Not configuring task for source set '{}' as no transformations are defined and discovery is disabled", sourceSet.getName()); } else { project.getLogger().debug("Configuring Byte Buddy task for source set '{}' as '{}'", sourceSet.getName(), name); final AbstractCompile compileTask = (AbstractCompile) project.getTasks().getByName(sourceSet.getCompileJavaTaskName()); diff --git a/release-notes.md b/release-notes.md index 0153c7dca48..0a664d84a83 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1,6 +1,11 @@ Byte Buddy release notes ------------------------ +### 15. December 2022: version 1.12.20 + +- Avoid stack overflow error when type variable cannot be resolve during error message generation. +- Allow dumping error message to file when remote attach fails. + ### 17. November 2022: version 1.12.19 - Avoid possible lock through circular class loading of `TypeDescription` subtypes.