6
0
forked from pool/byte-buddy

24 Commits

Author SHA256 Message Date
325435014d 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
05647a53ea - 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
5db9be7dac - 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
e4d7ee444e - 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
05f3683125 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
a80e537090 - 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
1a98b45899 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
5ad6a06f14 - 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
b8af66bacc 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
b6a0af5ddd - 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
8d473f2852 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
fb2c647900 - 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
8e2ca4d9ba - 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
1458a18892 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
4aa91e2174 OBS-URL: https://build.opensuse.org/package/show/Java:packages/byte-buddy?expand=0&rev=35 2024-10-13 05:47:21 +00:00
ed89996ce5 - 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
1692472220 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
071a02219f - 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
1731eaee1b 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
04cf25068a - 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
217214aceb 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
18f03eb467 - 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
9869930fb9 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
b5086efb11 - 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 6 additions and 78 deletions

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

Binary file not shown.

View File

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

View File

@@ -1,71 +1,3 @@
-------------------------------------------------------------------
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.6
Version: 1.17.0
Release: 0
Summary: Runtime code generation for the Java virtual machine
License: Apache-2.0
@@ -37,7 +37,6 @@ 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
@@ -98,8 +97,7 @@ 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 org.sonatype.central:central-publishing-maven-plugin
%pom_remove_plugin -r :maven-javadoc-plugin
%pom_remove_plugin :nexus-staging-maven-plugin
# Avoid circular dependency
%pom_remove_plugin :byte-buddy-maven-plugin %{name}-dep
@@ -116,13 +114,11 @@ 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