38 Commits

Author SHA256 Message Date
a69cd56f34 Accepting request 1287973 from Java:packages
Fix build with up-coming maven 4

OBS-URL: https://build.opensuse.org/request/show/1287973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=19
2025-06-24 18:48:02 +00:00
2c5334627b OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=62 2025-06-23 14:44:07 +00:00
b832f367ab OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=61 2025-06-23 11:10:21 +00:00
d14101125a Accepting request 1286399 from Java:packages
1.17.6

OBS-URL: https://build.opensuse.org/request/show/1286399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=18
2025-06-17 16:24:40 +00:00
1a1d3e24ac - Update to v1.17.6
* Changes of v1.17.6
    + Add convenience wrapper for ResettableClassFileTransformer
      that implicitly delegates to correct transformer method.
    + Add filter for deduplicate fields and methods in class file.
    + Add missing static requirement of Spotbugs annotations to
      module descriptors.
    + Add LazinessMode for TypePool and add convenience support to
      AgentBuilder.
    + Fix source jars for multi-version release to contain
      duplicated source.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=59
2025-06-16 12:43:47 +00:00
4cd8b8bab5 Accepting request 1273818 from Java:packages
1.7.5

OBS-URL: https://build.opensuse.org/request/show/1273818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=17
2025-05-01 13:23:40 +00:00
8ccd8e9e20 - Update to v1.17.5
* Changes of v1.17.5
    + Update ASM to version 9.8 to support Java 25 using ASM reader
      and writer.
    + Include AnnotationRemoval visitor for removing or replacing
      annotations.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=57
2025-04-02 17:37:02 +00:00
f8f2efcb79 Accepting request 1264779 from Java:packages
1.17.4

OBS-URL: https://build.opensuse.org/request/show/1264779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=16
2025-03-28 08:37:02 +00:00
10b89691de - Update to v1.17.4
* Changes of v1.17.4
    + Add SafeVarargs plugin.
    + Fix OSGi declaration for byte-buddy-agent.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=55
2025-03-24 07:56:01 +00:00
ad35e69dbb - Update to v1.17.3
* Changes of v1.17.3
    + Fix bug in ASM to Class File API bridge handling tableswitch
      instructions.
    + Add plugin for adding SafeVarargs annotations.
    + Further generify MemberSubstitution API.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=54
2025-03-22 14:47:58 +00:00
5387b59a29 Accepting request 1252856 from Java:packages
1.17.2

OBS-URL: https://build.opensuse.org/request/show/1252856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=15
2025-03-14 22:50:28 +00:00
c87dd1ff72 - Update to v1.17.2
* Changes of v1.17.2
    + Update Class File API integration to include support for
      several omitted byte codes.
    + Adjust attach API emulation for OpenJ9 to not create
      subfolder if temporary folder is set explicitly.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=52
2025-03-04 10:24:58 +00:00
61db3c4940 Accepting request 1247547 from Java:packages
1.17.1

OBS-URL: https://build.opensuse.org/request/show/1247547
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=14
2025-02-21 20:36:42 +00:00
a7ddd98946 - Update to v1.17.1
* Changes of v1.17.1
    + Fix bug in MemberSubstitution were argument indices were
      resolved by one digit off.
    + Update Class File API integration to avoid that parameter
      annotations are lost.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=50
2025-02-14 12:56:59 +00:00
289019fff6 Accepting request 1243236 from Java:packages
1.17.0

OBS-URL: https://build.opensuse.org/request/show/1243236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=13
2025-02-05 11:41:39 +00:00
d9c891020c - Update to v1.17.0
* Changes of v1.17.0
    + Assure that implicit choice for class reader and class writer
      are always symmetric with regard to internal representation.
    + Retrofit MemberSubstitution to also allow for intercepting
      invokedynamic instructions.
    + Introduce @Handle annotations to allow for injecting constant
      pool-stored method handle in Advice, MemberSubstitution and
      MethodDelegation.
    + Introduce @DynamicConstant annotations to allow for injecting
      constant pool-stored dynamic constants in Advice,
      MemberSubstitution and MethodDelegation.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=48
2025-01-29 22:27:37 +00:00
446c813c99 - Update to v1.16.1
* Changes of v1.16.1
    + Correct reflective activation of Class File API.
    + Reject array descriptors that are not well-formed in
      TypePool.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=47
2025-01-19 10:08:34 +00:00
29aaf68fff - Update to v1.16.0
* Changes of v1.16.0
    + Allow for erasure of types of bootstrapped methods in Advice
      within instrumented class.
    + Rework Advice post-processing to allow for erasure of
      bootstrapped methods.
    + Fix missing application of hashCode/equals plugin for Java 8
      code.
    + Include support for JDK Class File API.
    + Allow Plugin.Engine to retain folders.
- Rebase/update patch:
  * 0001-Avoid-bundling-asm.patch

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=46
2025-01-18 11:15:58 +00:00
e2f35e98b1 Accepting request 1238526 from Java:packages
1.15.11

OBS-URL: https://build.opensuse.org/request/show/1238526
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=12
2025-01-17 17:43:56 +00:00
e17e77207c - Update to v1.15.11
* Changes of v1.15.11
    + Avoid dependency of CachedReturnPlugin on precompiled class
      files.
    + Add NOP instruction when Advice is used on void methods as
      those might be empty which results on a frame being written
      to the same offset, causing an exception.
    + Allow Plugin.Enging to link files instead of copying.
    + Adjust validator code to avoid compiler bug that was reported
      by multiple users.
    + Allow injection of class path as File[] to Plugin
      constructors.
    + Allow for configuring variants when using the Android Gradle
      plugin.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=44
2024-12-15 12:27:13 +00:00
262d3e0aa6 Accepting request 1220514 from Java:packages
1.15.10

OBS-URL: https://build.opensuse.org/request/show/1220514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=11
2024-11-04 21:42:21 +00:00
7cb813d536 - Update to v1.15.10
* Changes of v1.15.10
    + Fix Java 8 patterns for multi-release jars to avoid that
      inner classes are excluded.
  * Changes of v1.15.9
    + Additional release after time out during previous Gradle
      plugin release.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=42
2024-11-03 23:46:58 +00:00
73ea5275c0 Accepting request 1220321 from Java:packages
1.15.8

OBS-URL: https://build.opensuse.org/request/show/1220321
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=10
2024-11-03 06:17:45 +00:00
6ccb2ff817 - Update to v1.15.8
* Changes of v1.15.8
    + Extend ClassInjector API to support lazy resolution of class
      files.
    + Extend DynamicType API to support lazy resolution of
      auxiliary types.
    + Extend AgentBuilder.Transformer.ForAdvice to support
      injection of new classes by their name.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=40
2024-11-02 15:55:12 +00:00
6b65d1aeb4 Accepting request 1219036 from Java:packages
1.15.7

OBS-URL: https://build.opensuse.org/request/show/1219036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=9
2024-10-30 16:34:00 +00:00
789a1c5e0f - Update to v1.15.7
* Changes of v1.15.7
    + Additional release after time out during previous Gradle
      plugin release.
  * Changes of v1.15.6
    + Add ConstructorResolver to Super annotation for
      MethodDelegation to allow for dynamic constructor resolution.
    + Add Java 8 versions of shaded ASM to allow for faster class
      file validation and CDS support.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=38
2024-10-23 10:59:23 +00:00
56e82c5188 - Update to v1.15.5
* Changes of v1.15.5
    + Publish Byte Buddy and Byte Buddy agent artifacts as
      multi-release jars to support CDS and faster validation.
- Remove Windows-specific resources
- Update to v1.15.4

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=37
2024-10-17 10:43:45 +00:00
e906502da7 Accepting request 1207518 from Java:packages
1.15.4

OBS-URL: https://build.opensuse.org/request/show/1207518
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=8
2024-10-14 11:06:33 +00:00
0677e2810d OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=35 2024-10-13 05:47:21 +00:00
3576b3d315 - Update to v1.15.3
* Add non-experimental support for Java 24.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=34
2024-10-12 02:11:56 +00:00
acde11e31a Accepting request 1204132 from Java:packages
1.15.3

OBS-URL: https://build.opensuse.org/request/show/1204132
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=7
2024-09-27 15:11:51 +00:00
07cbb3fb22 - Update to v1.15.3
* Changes of v1.15.3
    + Treat multi-release class files that are newer than the
      supported version as regular resources.
    + Allow overriding the multi-release class file version from
      Maven and Gradle plugin.
    + Correctly resolve multi-release class files in Android.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=32
2024-09-26 22:48:35 +00:00
1288835ac8 Accepting request 1203778 from Java:packages
1.15.1

OBS-URL: https://build.opensuse.org/request/show/1203778
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=6
2024-09-26 16:54:16 +00:00
228684dbaf - Update to v1.15.2
* Changes of v1.15.2
    + Add support for multi-release JAR files in ClassFileLocators
      and Plugin.Engine.Default.
    + Add Gradle task for transforming multiple jar files with
      ByteBuddyJarsTask.
    + Avoid validation of JarFile when extracting individual
      entries.
    + Rework discovery in ByteBuddyMojo.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=30
2024-09-25 21:47:49 +00:00
538ab25d5f Accepting request 1198467 from Java:packages
1.15.1

OBS-URL: https://build.opensuse.org/request/show/1198467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=5
2024-09-04 11:23:14 +00:00
78bfa16fd4 - Update to v1.15.1
* Changes of v1.15.1
    + Revert default EntryPoint for Android Gradle plugin to use
      DECORATE unless explicitly specified due to many generic type
      errors in Kotlin classes.
  * Changes of v1.15.0
    + Introduce AsmClassWriter and AsmClassReader abstractions that
      allow for plugging different implementations of readers and
      writers.
    + Add configuration extension to the Android Gradle plugin and
      make it behave like regular Gradle plugin with standard
      configuration.
    + Throw TypeNotPresentException upon discovering undeclared
      type variables as it was recently fixed on the JVM.
  * Changes of v1.14.19
    + Add Maven Mojo for transforming jars and for transforming
      dependencies folder.
    + Better error handling for unresolved type variables.
    + Allow loading arguments of the instrumented method in
      MemberSubstitution.
    + Fix checks for method visibility.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=28
2024-09-01 16:31:02 +00:00
573b4e33cf Accepting request 1186467 from Java:packages
1.14.18

OBS-URL: https://build.opensuse.org/request/show/1186467
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/byte-buddy?expand=0&rev=4
2024-07-10 14:49:50 +00:00
3d4dcc93a0 - Update to v1.14.18
* Changes of v1.14.18
    + Avoid verification error if constructor advice meats dropped
      implicit this frame and throw exception during
      instrumentation instead.
    + Add support to resolve ByteBuddyAgent from non-obfuscated
      name if obfuscation is used.
    + Make sure CircularityLock implementations never load classes
      during locking.
    + Offer use of istat if stat command is not available for
      emulated attachment.
    + Avoid locking entire class loader when child-first class
      loader loads shadowed class and parallel class loading is
      supported.
  * Changes of v1.14.17
    + Avoid crashing of Android plugin when there are duplicate
      files for licenses or license notices.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=26
2024-07-08 22:02:07 +00:00
4 changed files with 78 additions and 6 deletions

BIN
byte-buddy-1.17.0.tar.gz (Stored with Git LFS)

Binary file not shown.

3
byte-buddy-1.17.6.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:902807bdebe99cfbae8b253e0ccef5fc5e31f64ae2470618aae7b55743b95bb1
size 2101394

View File

@@ -1,3 +1,71 @@
-------------------------------------------------------------------
Mon Jun 23 14:43:54 UTC 2025 - Fridrich Strba <fstrba@suse.com>
- Fix build with maven 4
-------------------------------------------------------------------
Mon Jun 16 12:37:21 UTC 2025 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.17.6
* Changes of v1.17.6
+ Add convenience wrapper for ResettableClassFileTransformer
that implicitly delegates to correct transformer method.
+ Add filter for deduplicate fields and methods in class file.
+ Add missing static requirement of Spotbugs annotations to
module descriptors.
+ Add LazinessMode for TypePool and add convenience support to
AgentBuilder.
+ Fix source jars for multi-version release to contain
duplicated source.
-------------------------------------------------------------------
Wed Apr 2 17:35:35 UTC 2025 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.17.5
* Changes of v1.17.5
+ Update ASM to version 9.8 to support Java 25 using ASM reader
and writer.
+ Include AnnotationRemoval visitor for removing or replacing
annotations.
-------------------------------------------------------------------
Mon Mar 24 07:55:09 UTC 2025 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.17.4
* Changes of v1.17.4
+ Add SafeVarargs plugin.
+ Fix OSGi declaration for byte-buddy-agent.
-------------------------------------------------------------------
Sat Mar 22 14:43:03 UTC 2025 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.17.3
* Changes of v1.17.3
+ Fix bug in ASM to Class File API bridge handling tableswitch
instructions.
+ Add plugin for adding SafeVarargs annotations.
+ Further generify MemberSubstitution API.
-------------------------------------------------------------------
Tue Mar 4 10:23:13 UTC 2025 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.17.2
* Changes of v1.17.2
+ Update Class File API integration to include support for
several omitted byte codes.
+ Adjust attach API emulation for OpenJ9 to not create
subfolder if temporary folder is set explicitly.
-------------------------------------------------------------------
Fri Feb 14 12:53:09 UTC 2025 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.17.1
* Changes of v1.17.1
+ Fix bug in MemberSubstitution were argument indices were
resolved by one digit off.
+ Update Class File API integration to avoid that parameter
annotations are lost.
-------------------------------------------------------------------
Wed Jan 29 22:22:17 UTC 2025 - Anton Shvetz <shvetz.anton@gmail.com>

View File

@@ -17,7 +17,7 @@
Name: byte-buddy
Version: 1.17.0
Version: 1.17.6
Release: 0
Summary: Runtime code generation for the Java virtual machine
License: Apache-2.0
@@ -37,6 +37,7 @@ BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
BuildRequires: mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.apache.maven:maven-resolver-provider)
BuildRequires: mvn(org.eclipse.aether:aether-api)
BuildRequires: mvn(org.eclipse.aether:aether-util)
BuildRequires: mvn(org.ow2.asm:asm) >= 9.7.1
@@ -97,7 +98,8 @@ rm -rf %{name}-agent/src/main/resources/win32-x86{,-64}
%pom_remove_plugin :spotbugs-maven-plugin
%pom_remove_plugin :jitwatch-jarscan-maven-plugin
%pom_remove_plugin :maven-release-plugin
%pom_remove_plugin :nexus-staging-maven-plugin
%pom_remove_plugin org.sonatype.central:central-publishing-maven-plugin
%pom_remove_plugin -r :maven-javadoc-plugin
# Avoid circular dependency
%pom_remove_plugin :byte-buddy-maven-plugin %{name}-dep
@@ -114,11 +116,13 @@ rm -rf %{name}-agent/src/main/resources/win32-x86{,-64}
%pom_remove_plugin -r :maven-shade-plugin
%pom_add_dep org.apache.maven:maven-resolver-provider:\${version.maven}:provided \
byte-buddy-maven-plugin
%{mvn_package} :byte-buddy-parent __noinstall
%build
%{mvn_build} -f -s -- \
-Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \
-Dsource=8
%install