6
0
forked from pool/byte-buddy

36 Commits

Author SHA256 Message Date
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
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
Anton Shvetz
50fa17b16e - Update to v1.14.16
* Changes of v1.14.16
    + Update ASM and introduce support for Java 23.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=23
2024-05-23 05:31:12 +00:00
22737758e5 OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=21 2024-05-21 11:01:55 +00:00
b3d9cd8a06 OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=20 2024-05-21 11:00:22 +00:00
0b99a70b9a OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=17 2024-04-18 21:47:21 +00:00
8c599b9779 OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=14 2024-04-18 11:25:58 +00:00
Anton Shvetz
44f0b84462 - Update to v1.14.13
* Changes of v1.14.13
    + Avoid resolving type variables when generic type processing
      is disabled.
    + Improve error message for Byte Buddy agent external attach.
    + Fix build for modular jars when using later version than Java
      8.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=13
2024-03-28 20:52:12 +00:00
Anton Shvetz
77af5e8ed5 - Update to v1.14.12
% Changes of v1.14.12
    + Pin proxy class file version to avoid implicit changes when
      using Graal native image.
    + Add support for Java 23.
    + Add missing @MaybeNull annotation.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=12
2024-02-17 15:44:01 +00:00
Anton Shvetz
51b2c44f11 - Update to v1.14.11
* Changes of v1.14.11
    + Adjusts Gradle plugin to support Gradle 8.4 without warnings.
    + Avoid blurry exception on build plugin for fail fast.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=11
2023-12-21 00:18:24 +00:00
Anton Shvetz
75647c7254 - Update to v1.14.10
* Changes of v1.14.10
    + Add lazy facade to default TypePool in AgentBuilder to avoid
      parsing of types ignored by name.
    + Avoid module info classes in Android plugin.

OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=10
2023-12-20 23:26:51 +00:00
26b57eb305 Accepting request 1118221 from home:urbic:branches:Java:packages
- Update to v1.14.9
  * Changes of v1.14.9
    + Update ASM to version 9.6
    + Support Android plugin to support APG version 7.4

OBS-URL: https://build.opensuse.org/request/show/1118221
OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=9
2023-10-17 13:02:50 +00:00
80197d8a58 OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=8 2023-09-27 05:15:05 +00:00
028dbe38c0 Accepting request 1111659 from home:urbic:branches:Java:packages
- Update to v1.14.8
  * Changes of v1.14.8
    + Correctly read versions from class file that would use both
      bytes.
    + Fix Byte Buddy Gradle plugin for Gradle 8.3+.
    + Correct field and static method access on subtypes in
      MemberSubstitution.
    + Support APK 7.4+ versions in Byte Buddy Gradle for Android
      plugin.
- Reproducible builds: use SOURCE_DATE_EPOCH for timestamp

OBS-URL: https://build.opensuse.org/request/show/1111659
OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=7
2023-09-18 18:50:42 +00:00
0cc872aa69 Accepting request 1108254 from home:urbic:branches:Java:packages
- Update to v1.14.7
  * Changes of v1.14.7
    + Correctly read minor version from class file.
    + Catch type resolution errors when applying Plugin.Engine.
- Update to v1.14.6
  * Changes of v1.14.6
    + Add PatchMode.SUBSTITUTE and
      ResettableClassFileTransformer.Substitutable for in-order
      patching.
    + Allow for explicit specification og differential matcher when
      patching an AgentBuilder.
    + Add platform loader to locator for build plugins.
    + Correctly resolve accessors for fields with capitalized first
      letter.
    + Make jars for Android read-only as newer versions require it.
- Update to v1.14.5
  * Changes of v1.14.5
    + Avoid use of location if agent argument separator is
      contained.
    + Allow failure of member substitution if no element is
      separated.
    + Allow retry in case of parallel class injection.

OBS-URL: https://build.opensuse.org/request/show/1108254
OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=6
2023-08-31 10:34:16 +00:00
a294e4e32c OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=4 2023-05-05 07:45:01 +00:00
4451e39718 Accepting request 1079678 from home:urbic:branches:Java:packages
- Update to v1.14.4
  * Changes of v1.14.4
    + Include instrumented type and auxiliary types in TypePool
      that is passed to TypeWriter.
- Remove patch:
  * 00-asm5.patch - not needed due to update of objectweb-asm

OBS-URL: https://build.opensuse.org/request/show/1079678
OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=2
2023-04-17 06:02:17 +00:00
3fcc569b67 Accepting request 1076761 from home:urbic:java
Add forgotten entry to byte-buddy.changes

OBS-URL: https://build.opensuse.org/request/show/1076761
OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=1
2023-04-03 09:09:31 +00:00