SHA256
1
0
forked from pool/byte-buddy

Compare commits

..

16 Commits

Author SHA256 Message Date
Ana Guerrero
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
Anton Shvetz
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
Ana Guerrero
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
Anton Shvetz
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
Dominique Leuenberger
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
Anton Shvetz
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
Dominique Leuenberger
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
Anton Shvetz
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
Anton Shvetz
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
Dominique Leuenberger
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
Fridrich Strba
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
Anton Shvetz
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
Ana Guerrero
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
Anton Shvetz
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
Ana Guerrero
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
Anton Shvetz
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
4 changed files with 101 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:74129de1641d7d4090535b775ecb01bdd6fca4d44044f0844c875494fcfb6957
size 2042176

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ad2f94e473f3d717b5dbe8cfd9e590bc4d4c54bbb2729a4410a720ee1bedf2f
size 2059994

View File

@ -1,3 +1,96 @@
-------------------------------------------------------------------
Sun Dec 15 12:21:44 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- 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.
-------------------------------------------------------------------
Sun Nov 3 23:45:15 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- 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.
-------------------------------------------------------------------
Sat Nov 2 15:49:57 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- 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.
-------------------------------------------------------------------
Wed Oct 23 10:55:21 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- 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.
-------------------------------------------------------------------
Thu Oct 17 10:23:16 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- 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
-------------------------------------------------------------------
Sat Oct 12 00:15:26 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- Update to v1.15.4
* Add non-experimental support for Java 24.
-------------------------------------------------------------------
Thu Sep 26 22:46:31 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- 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.
-------------------------------------------------------------------
Wed Sep 25 21:44:53 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>
- 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.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Sep 1 16:25:12 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com> Sun Sep 1 16:25:12 UTC 2024 - Anton Shvetz <shvetz.anton@gmail.com>

View File

@ -17,7 +17,7 @@
Name: byte-buddy Name: byte-buddy
Version: 1.15.1 Version: 1.15.11
Release: 0 Release: 0
Summary: Runtime code generation for the Java virtual machine Summary: Runtime code generation for the Java virtual machine
License: Apache-2.0 License: Apache-2.0
@ -39,7 +39,7 @@ BuildRequires: mvn(org.apache.maven:maven-core)
BuildRequires: mvn(org.apache.maven:maven-plugin-api) BuildRequires: mvn(org.apache.maven:maven-plugin-api)
BuildRequires: mvn(org.eclipse.aether:aether-api) BuildRequires: mvn(org.eclipse.aether:aether-api)
BuildRequires: mvn(org.eclipse.aether:aether-util) BuildRequires: mvn(org.eclipse.aether:aether-util)
BuildRequires: mvn(org.ow2.asm:asm) >= 9.7 BuildRequires: mvn(org.ow2.asm:asm) >= 9.7.1
BuildRequires: mvn(org.ow2.asm:asm-commons) BuildRequires: mvn(org.ow2.asm:asm-commons)
BuildRequires: mvn(org.sonatype.plexus:plexus-build-api) BuildRequires: mvn(org.sonatype.plexus:plexus-build-api)
BuildArch: noarch BuildArch: noarch
@ -78,6 +78,9 @@ API documentation for %{name}.
%setup -q -n %{name}-%{name}-%{version} %setup -q -n %{name}-%{name}-%{version}
%patch -P 0 -p1 %patch -P 0 -p1
# Remove Windows-specific resources
rm -rf byte-buddy-agent/src/main/resources/win32-x86{,-64}
# Don't ship android or benchmark modules # Don't ship android or benchmark modules
%pom_disable_module byte-buddy-android %pom_disable_module byte-buddy-android
%pom_disable_module byte-buddy-android-test %pom_disable_module byte-buddy-android-test