diff --git a/asm-9.2.pom b/asm-9.2.pom new file mode 100644 index 0000000..7cd615d --- /dev/null +++ b/asm-9.2.pom @@ -0,0 +1,75 @@ + + + 4.0.0 + org.ow2.asm + asm + 9.2 + asm + ASM, a very small and fast Java bytecode manipulation framework + http://asm.ow2.io/ + 2000 + + OW2 + http://www.ow2.org/ + + + + BSD-3-Clause + https://asm.ow2.io/license.html + + + + + ebruneton + Eric Bruneton + ebruneton@free.fr + + Creator + Java Developer + + + + eu + Eugene Kuleshov + eu@javatx.org + + Java Developer + + + + forax + Remi Forax + forax@univ-mlv.fr + + Java Developer + + + + + + ASM Users List + https://mail.ow2.org/wws/subscribe/asm + asm@objectweb.org + https://mail.ow2.org/wws/arc/asm/ + + + ASM Team List + https://mail.ow2.org/wws/subscribe/asm-team + asm-team@objectweb.org + https://mail.ow2.org/wws/arc/asm-team/ + + + + scm:git:https://gitlab.ow2.org/asm/asm/ + scm:git:https://gitlab.ow2.org/asm/asm/ + https://gitlab.ow2.org/asm/asm/ + + + https://gitlab.ow2.org/asm/asm/issues + + + org.ow2 + ow2 + 1.5 + + diff --git a/asm-analysis-7.2.pom b/asm-analysis-9.2.pom similarity index 74% rename from asm-analysis-7.2.pom rename to asm-analysis-9.2.pom index dee75f9..e24e27f 100644 --- a/asm-analysis-7.2.pom +++ b/asm-analysis-9.2.pom @@ -1,15 +1,9 @@ - + 4.0.0 - - org.ow2 - ow2 - 1.5 - org.ow2.asm asm-analysis - 7.2 + 9.2 asm-analysis Static code analysis API of ASM, a very small and fast Java bytecode manipulation framework http://asm.ow2.io/ @@ -77,26 +71,13 @@ org.ow2.asm asm-tree - 7.2 + 9.2 compile - - org.ow2.asm - asm-test - 7.2 - test - - - org.junit.jupiter - junit-jupiter-api - 5.3.2 - test - - - org.junit.jupiter - junit-jupiter-params - 5.3.2 - test - + + org.ow2 + ow2 + 1.5 + diff --git a/asm-commons-7.2.pom b/asm-commons-7.2.pom deleted file mode 100644 index ee47b46..0000000 --- a/asm-commons-7.2.pom +++ /dev/null @@ -1,120 +0,0 @@ - - - 4.0.0 - - org.ow2 - ow2 - 1.5 - - org.ow2.asm - asm-commons - 7.2 - asm-commons - Usefull class adapters based on ASM, a very small and fast Java bytecode manipulation framework - http://asm.ow2.io/ - 2000 - - OW2 - http://www.ow2.org/ - - - - BSD-3-Clause - https://asm.ow2.io/license.html - - - - - ebruneton - Eric Bruneton - ebruneton@free.fr - - Creator - Java Developer - - - - eu - Eugene Kuleshov - eu@javatx.org - - Java Developer - - - - forax - Remi Forax - forax@univ-mlv.fr - - Java Developer - - - - - - ASM Users List - https://mail.ow2.org/wws/subscribe/asm - asm@objectweb.org - https://mail.ow2.org/wws/arc/asm/ - - - ASM Team List - https://mail.ow2.org/wws/subscribe/asm-team - asm-team@objectweb.org - https://mail.ow2.org/wws/arc/asm-team/ - - - - scm:git:https://gitlab.ow2.org/asm/asm/ - scm:git:https://gitlab.ow2.org/asm/asm/ - https://gitlab.ow2.org/asm/asm/ - - - https://gitlab.ow2.org/asm/asm/issues - - - - org.ow2.asm - asm - 7.2 - compile - - - org.ow2.asm - asm-tree - 7.2 - compile - - - org.ow2.asm - asm-analysis - 7.2 - compile - - - org.ow2.asm - asm-util - 7.2 - test - - - org.ow2.asm - asm-test - 7.2 - test - - - org.junit.jupiter - junit-jupiter-api - 5.3.2 - test - - - org.junit.jupiter - junit-jupiter-params - 5.3.2 - test - - - diff --git a/asm-commons-9.2.pom b/asm-commons-9.2.pom new file mode 100644 index 0000000..b753020 --- /dev/null +++ b/asm-commons-9.2.pom @@ -0,0 +1,95 @@ + + + 4.0.0 + org.ow2.asm + asm-commons + 9.2 + asm-commons + Usefull class adapters based on ASM, a very small and fast Java bytecode manipulation framework + http://asm.ow2.io/ + 2000 + + OW2 + http://www.ow2.org/ + + + + BSD-3-Clause + https://asm.ow2.io/license.html + + + + + ebruneton + Eric Bruneton + ebruneton@free.fr + + Creator + Java Developer + + + + eu + Eugene Kuleshov + eu@javatx.org + + Java Developer + + + + forax + Remi Forax + forax@univ-mlv.fr + + Java Developer + + + + + + ASM Users List + https://mail.ow2.org/wws/subscribe/asm + asm@objectweb.org + https://mail.ow2.org/wws/arc/asm/ + + + ASM Team List + https://mail.ow2.org/wws/subscribe/asm-team + asm-team@objectweb.org + https://mail.ow2.org/wws/arc/asm-team/ + + + + scm:git:https://gitlab.ow2.org/asm/asm/ + scm:git:https://gitlab.ow2.org/asm/asm/ + https://gitlab.ow2.org/asm/asm/ + + + https://gitlab.ow2.org/asm/asm/issues + + + + org.ow2.asm + asm + 9.2 + compile + + + org.ow2.asm + asm-tree + 9.2 + compile + + + org.ow2.asm + asm-analysis + 9.2 + compile + + + + org.ow2 + ow2 + 1.5 + + diff --git a/asm-test-7.2.pom b/asm-test-9.2.pom similarity index 84% rename from asm-test-7.2.pom rename to asm-test-9.2.pom index 3ddaa4b..70cb4c6 100644 --- a/asm-test-7.2.pom +++ b/asm-test-9.2.pom @@ -1,15 +1,9 @@ - + 4.0.0 - - org.ow2 - ow2 - 1.5 - org.ow2.asm asm-test - 7.2 + 9.2 asm-test Utilities for testing ASM, a very small and fast Java bytecode manipulation framework http://asm.ow2.io/ @@ -77,20 +71,19 @@ org.junit.jupiter junit-jupiter-api - 5.3.2 + 5.7.0 compile org.junit.jupiter junit-jupiter-params - 5.3.2 + 5.7.0 compile - - org.ow2.asm - asm-test - 7.2 - test - + + org.ow2 + ow2 + 1.5 + diff --git a/asm-tree-7.2.pom b/asm-tree-9.2.pom similarity index 74% rename from asm-tree-7.2.pom rename to asm-tree-9.2.pom index c459b5f..d509065 100644 --- a/asm-tree-7.2.pom +++ b/asm-tree-9.2.pom @@ -1,15 +1,9 @@ - + 4.0.0 - - org.ow2 - ow2 - 1.5 - org.ow2.asm asm-tree - 7.2 + 9.2 asm-tree Tree API of ASM, a very small and fast Java bytecode manipulation framework http://asm.ow2.io/ @@ -77,26 +71,13 @@ org.ow2.asm asm - 7.2 + 9.2 compile - - org.ow2.asm - asm-test - 7.2 - test - - - org.junit.jupiter - junit-jupiter-api - 5.3.2 - test - - - org.junit.jupiter - junit-jupiter-params - 5.3.2 - test - + + org.ow2 + ow2 + 1.5 + diff --git a/asm-util-7.2.pom b/asm-util-7.2.pom deleted file mode 100644 index 3271362..0000000 --- a/asm-util-7.2.pom +++ /dev/null @@ -1,120 +0,0 @@ - - - 4.0.0 - - org.ow2 - ow2 - 1.5 - - org.ow2.asm - asm-util - 7.2 - asm-util - Utilities for ASM, a very small and fast Java bytecode manipulation framework - http://asm.ow2.io/ - 2000 - - OW2 - http://www.ow2.org/ - - - - BSD-3-Clause - https://asm.ow2.io/license.html - - - - - ebruneton - Eric Bruneton - ebruneton@free.fr - - Creator - Java Developer - - - - eu - Eugene Kuleshov - eu@javatx.org - - Java Developer - - - - forax - Remi Forax - forax@univ-mlv.fr - - Java Developer - - - - - - ASM Users List - https://mail.ow2.org/wws/subscribe/asm - asm@objectweb.org - https://mail.ow2.org/wws/arc/asm/ - - - ASM Team List - https://mail.ow2.org/wws/subscribe/asm-team - asm-team@objectweb.org - https://mail.ow2.org/wws/arc/asm-team/ - - - - scm:git:https://gitlab.ow2.org/asm/asm/ - scm:git:https://gitlab.ow2.org/asm/asm/ - https://gitlab.ow2.org/asm/asm/ - - - https://gitlab.ow2.org/asm/asm/issues - - - - org.ow2.asm - asm - 7.2 - compile - - - org.ow2.asm - asm-tree - 7.2 - compile - - - org.ow2.asm - asm-analysis - 7.2 - compile - - - org.codehaus.janino - janino - 3.0.11 - test - - - org.ow2.asm - asm-test - 7.2 - test - - - org.junit.jupiter - junit-jupiter-api - 5.3.2 - test - - - org.junit.jupiter - junit-jupiter-params - 5.3.2 - test - - - diff --git a/asm-7.2.pom b/asm-util-9.2.pom similarity index 73% rename from asm-7.2.pom rename to asm-util-9.2.pom index aed7a53..203af91 100644 --- a/asm-7.2.pom +++ b/asm-util-9.2.pom @@ -1,17 +1,11 @@ - + 4.0.0 - - org.ow2 - ow2 - 1.5 - org.ow2.asm - asm - 7.2 - asm - ASM, a very small and fast Java bytecode manipulation framework + asm-util + 9.2 + asm-util + Utilities for ASM, a very small and fast Java bytecode manipulation framework http://asm.ow2.io/ 2000 @@ -76,21 +70,26 @@ org.ow2.asm - asm-test - 7.2 - test + asm + 9.2 + compile - org.junit.jupiter - junit-jupiter-api - 5.3.2 - test + org.ow2.asm + asm-tree + 9.2 + compile - org.junit.jupiter - junit-jupiter-params - 5.3.2 - test + org.ow2.asm + asm-analysis + 9.2 + compile + + org.ow2 + ow2 + 1.5 + diff --git a/generate-tarball.sh b/generate-tarball.sh index 11c0ae4..17813dd 100644 --- a/generate-tarball.sh +++ b/generate-tarball.sh @@ -6,20 +6,23 @@ version="$(sed -n 's/Version:\s*//p' *.spec)" gittag="ASM_${version//./_}" # RETRIEVE -wget "https://gitlab.ow2.org/asm/asm/repository/${gittag}/archive.tar.gz#/${name}-${version}.tar.gz" -O "${name}-${version}.orig.tar.gz" +wget "https://gitlab.ow2.org/asm/asm/-/archive/${gittag}/asm-${gittag}.tar.gz" -O "${name}-${version}.orig.tar.gz" rm -rf tarball-tmp mkdir tarball-tmp -cd tarball-tmp -tar xf "../${name}-${version}.orig.tar.gz" +pushd tarball-tmp +tar -xzf "../${name}-${version}.orig.tar.gz" # Rename dir not to contain commit -mv asm-${gittag}-* ${name}-${version} +mv asm-${gittag} ${name}-${version} # CLEAN TARBALL # Remove all jar files find -name '*.jar' -delete +# Remove all class files except those in asm-test, which are shipped alongside appropriately licensed source +find */asm{,-analysis,-commons} -name '*.class' -delete +rm -r */gradle -tar cJf "../${name}-${version}.tar.xz" * -cd .. +tar -cJf "../${name}-${version}.tar.xz" * +popd rm -r tarball-tmp "${name}-${version}.orig.tar.gz" diff --git a/objectweb-asm-7.2-build.tar.xz b/objectweb-asm-7.2-build.tar.xz deleted file mode 100644 index 5c76539..0000000 --- a/objectweb-asm-7.2-build.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f79f429a6847d77bef6e97c7f3a98e89a7850a6b9eb03c98c612332f1b7a65b1 -size 2644 diff --git a/objectweb-asm-7.2.tar.xz b/objectweb-asm-7.2.tar.xz deleted file mode 100644 index 683e6a0..0000000 --- a/objectweb-asm-7.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7fe9e3ec1838b48ad6865a667ce0a9c305e18650158a9c7b7206daef1404bb7d -size 602044 diff --git a/objectweb-asm-9.2-build.tar.xz b/objectweb-asm-9.2-build.tar.xz new file mode 100644 index 0000000..dcd0485 --- /dev/null +++ b/objectweb-asm-9.2-build.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a9220ee3c36484b7aa948958d2bc8d42cad65b55637e6ef01f3e6adabfff229 +size 2604 diff --git a/objectweb-asm-9.2.tar.xz b/objectweb-asm-9.2.tar.xz new file mode 100644 index 0000000..9f0fd13 --- /dev/null +++ b/objectweb-asm-9.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e2002efdd35fa377c3d2b963ce01aef3f240464e62fb3f6313998366216ecdc +size 563556 diff --git a/objectweb-asm.changes b/objectweb-asm.changes index 6db6d27..928821c 100644 --- a/objectweb-asm.changes +++ b/objectweb-asm.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Wed Oct 20 19:54:36 UTC 2021 - Fridrich Strba + +- Upgrade to version 9.2 + * Up to JDK 18 support + * ClassReader.readStream() performance improvements + * Add some input validations in ClassReader + * Replace -debug flag in Printer with -nodebug (-debug continues + to work) + * new V15 constant + * experimental support for PermittedSubtypes and RecordComponent + * Javadoc fixes + * bug fixes + + 317942: ClassCheckAdaptor output represents reference arrays + as only their "root" component type + + 317921: Make Analyzer not require correct maxs or calculate + maxs fast + + 317922: InstructionAdapter shall throw consistent exceptions + + 317923: Incorrect documentation on ClassReader's use of + AnnotationVisitor + + 317929: ClassRemapper doesn't remap annotation values + + 317930: Can CheckClassAdapter.checkTypeRef throw a more + specific exception? + + 317931: Shall CheckMethodAdapter.Method.visitLabel throw + IllegalStateException? + + Tests that requires preview features should only run if the + preview features of the right JDK are enabled + + 317897: AdviceAdapter incorrectly emits onMethodEnter from a + try-catch block in a constructor + + 317900: Javadoc of ClassVisitor does not specify order of + visitRecordComponent + + 317904: Bug with constructors in AdviceAdapter + + 317910: Iterating over a InsnList with an iterator traverses + the list twice + + 317898: ASM 8 does not support writing of empty records + + 317896: Performance degradation when using dynamic constants + as a static paramet to another InDy/ConDy + + 317885: SKIP_DEBUG now skips MethodParameters attributes + ------------------------------------------------------------------- Mon Nov 25 07:55:52 UTC 2019 - Fridrich Strba diff --git a/objectweb-asm.spec b/objectweb-asm.spec index e41da7f..a5ed7eb 100644 --- a/objectweb-asm.spec +++ b/objectweb-asm.spec @@ -1,7 +1,7 @@ # # spec file for package objectweb-asm # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: objectweb-asm -Version: 7.2 +Version: 9.2 Release: 0 Summary: Java bytecode manipulation framework License: BSD-3-Clause @@ -26,12 +26,12 @@ URL: http://asm.objectweb.org/ # ./generate-tarball.sh Source0: %{name}-%{version}.tar.xz Source1: %{name}-%{version}-build.tar.xz -Source2: http://repo1.maven.org/maven2/org/ow2/asm/asm/%{version}/asm-%{version}.pom -Source3: http://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/%{version}/asm-analysis-%{version}.pom -Source4: http://repo1.maven.org/maven2/org/ow2/asm/asm-commons/%{version}/asm-commons-%{version}.pom -Source5: http://repo1.maven.org/maven2/org/ow2/asm/asm-test/%{version}/asm-test-%{version}.pom -Source6: http://repo1.maven.org/maven2/org/ow2/asm/asm-tree/%{version}/asm-tree-%{version}.pom -Source7: http://repo1.maven.org/maven2/org/ow2/asm/asm-util/%{version}/asm-util-%{version}.pom +Source2: https://repo1.maven.org/maven2/org/ow2/asm/asm/%{version}/asm-%{version}.pom +Source3: https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/%{version}/asm-analysis-%{version}.pom +Source4: https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/%{version}/asm-commons-%{version}.pom +Source5: https://repo1.maven.org/maven2/org/ow2/asm/asm-test/%{version}/asm-test-%{version}.pom +Source6: https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/%{version}/asm-tree-%{version}.pom +Source7: https://repo1.maven.org/maven2/org/ow2/asm/asm-util/%{version}/asm-util-%{version}.pom # We still want to create an "all" uberjar, so this is a custom pom to generate it # TODO: Fix other packages to no longer depend on "asm-all" so we can drop this Source9: asm-all.pom