From 13a08c72e372cfaa971792d6ed5e4712523f8c63013febf7e2967fbe93808074 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 2 Mar 2022 13:24:46 +0000 Subject: [PATCH 1/5] OBS-URL: https://build.opensuse.org/package/show/Java:packages/objectweb-asm?expand=0&rev=56 --- objectweb-asm-9.2-build.tar.xz | 4 ++-- objectweb-asm.changes | 6 ++++++ objectweb-asm.spec | 7 ++----- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/objectweb-asm-9.2-build.tar.xz b/objectweb-asm-9.2-build.tar.xz index dcd0485..7828a3c 100644 --- a/objectweb-asm-9.2-build.tar.xz +++ b/objectweb-asm-9.2-build.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7a9220ee3c36484b7aa948958d2bc8d42cad65b55637e6ef01f3e6adabfff229 -size 2604 +oid sha256:606bed567ffbd4309fffedcd2dd5744df02e2d2dbb57626f09701e1196118237 +size 2712 diff --git a/objectweb-asm.changes b/objectweb-asm.changes index 928821c..9a730f8 100644 --- a/objectweb-asm.changes +++ b/objectweb-asm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 2 13:24:16 UTC 2022 - Fridrich Strba + +- Build the module-info.java files so that modular javas can use + this. + ------------------------------------------------------------------- Wed Oct 20 19:54:36 UTC 2021 - Fridrich Strba diff --git a/objectweb-asm.spec b/objectweb-asm.spec index a5ed7eb..a0e562d 100644 --- a/objectweb-asm.spec +++ b/objectweb-asm.spec @@ -1,7 +1,7 @@ # # spec file for package objectweb-asm # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -39,7 +39,7 @@ Source9: asm-all.pom Source10: generate-tarball.sh BuildRequires: ant BuildRequires: fdupes -BuildRequires: java-devel >= 1.8 +BuildRequires: java-devel >= 9 BuildRequires: javapackages-local BuildRequires: xz Obsoletes: %{name}-examples @@ -102,9 +102,6 @@ for i in asm asm-analysis asm-commons asm-tree asm-util asm-all; do %pom_remove_parent ${i} done -# We don't want to build modular jars -find . -name module-info.java -print -delete - %build %ant \ package javadoc From fd167688938490f392c6aacade5d41bdafcb48f677047efd9bf3ab644572cdb7 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 2 Mar 2022 15:08:18 +0000 Subject: [PATCH 2/5] OBS-URL: https://build.opensuse.org/package/show/Java:packages/objectweb-asm?expand=0&rev=57 --- objectweb-asm-9.2-build.tar.xz | 4 ++-- objectweb-asm.changes | 26 ++++++++++---------------- objectweb-asm.spec | 5 ++++- 3 files changed, 16 insertions(+), 19 deletions(-) diff --git a/objectweb-asm-9.2-build.tar.xz b/objectweb-asm-9.2-build.tar.xz index 7828a3c..dcd0485 100644 --- a/objectweb-asm-9.2-build.tar.xz +++ b/objectweb-asm-9.2-build.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:606bed567ffbd4309fffedcd2dd5744df02e2d2dbb57626f09701e1196118237 -size 2712 +oid sha256:7a9220ee3c36484b7aa948958d2bc8d42cad65b55637e6ef01f3e6adabfff229 +size 2604 diff --git a/objectweb-asm.changes b/objectweb-asm.changes index 9a730f8..5daa57a 100644 --- a/objectweb-asm.changes +++ b/objectweb-asm.changes @@ -1,9 +1,3 @@ -------------------------------------------------------------------- -Wed Mar 2 13:24:16 UTC 2022 - Fridrich Strba - -- Build the module-info.java files so that modular javas can use - this. - ------------------------------------------------------------------- Wed Oct 20 19:54:36 UTC 2021 - Fridrich Strba @@ -18,29 +12,29 @@ Wed Oct 20 19:54:36 UTC 2021 - Fridrich Strba * Javadoc fixes * bug fixes + 317942: ClassCheckAdaptor output represents reference arrays - as only their "root" component type + as only their "root" component type + 317921: Make Analyzer not require correct maxs or calculate - maxs fast + maxs fast + 317922: InstructionAdapter shall throw consistent exceptions + 317923: Incorrect documentation on ClassReader's use of - AnnotationVisitor + AnnotationVisitor + 317929: ClassRemapper doesn't remap annotation values + 317930: Can CheckClassAdapter.checkTypeRef throw a more - specific exception? + specific exception? + 317931: Shall CheckMethodAdapter.Method.visitLabel throw - IllegalStateException? + IllegalStateException? + Tests that requires preview features should only run if the - preview features of the right JDK are enabled + preview features of the right JDK are enabled + 317897: AdviceAdapter incorrectly emits onMethodEnter from a - try-catch block in a constructor + try-catch block in a constructor + 317900: Javadoc of ClassVisitor does not specify order of - visitRecordComponent + visitRecordComponent + 317904: Bug with constructors in AdviceAdapter + 317910: Iterating over a InsnList with an iterator traverses - the list twice + 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 + as a static paramet to another InDy/ConDy + 317885: SKIP_DEBUG now skips MethodParameters attributes ------------------------------------------------------------------- diff --git a/objectweb-asm.spec b/objectweb-asm.spec index a0e562d..c9b6b63 100644 --- a/objectweb-asm.spec +++ b/objectweb-asm.spec @@ -39,7 +39,7 @@ Source9: asm-all.pom Source10: generate-tarball.sh BuildRequires: ant BuildRequires: fdupes -BuildRequires: java-devel >= 9 +BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-local BuildRequires: xz Obsoletes: %{name}-examples @@ -102,6 +102,9 @@ for i in asm asm-analysis asm-commons asm-tree asm-util asm-all; do %pom_remove_parent ${i} done +# We don't want to build modular jars +find . -name module-info.java -print -delete + %build %ant \ package javadoc From 1e08f8a4f381e34981e3ca7be6819580921e2a9024dda46b67b16107563af85f Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 2 Mar 2022 17:03:35 +0000 Subject: [PATCH 3/5] OBS-URL: https://build.opensuse.org/package/show/Java:packages/objectweb-asm?expand=0&rev=58 --- objectweb-asm-9.2-build.tar.xz | 4 ++-- objectweb-asm.changes | 5 +++++ objectweb-asm.spec | 3 --- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/objectweb-asm-9.2-build.tar.xz b/objectweb-asm-9.2-build.tar.xz index dcd0485..bce0eab 100644 --- a/objectweb-asm-9.2-build.tar.xz +++ b/objectweb-asm-9.2-build.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7a9220ee3c36484b7aa948958d2bc8d42cad65b55637e6ef01f3e6adabfff229 -size 2604 +oid sha256:9e35c3acd1fad03971b2768929153cbf3b8ec83fd8a975c63e0ae44130d09027 +size 3476 diff --git a/objectweb-asm.changes b/objectweb-asm.changes index 5daa57a..beb1145 100644 --- a/objectweb-asm.changes +++ b/objectweb-asm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 2 17:03:01 UTC 2022 - Fridrich Strba + +- Build asm as modular jar files to be used as such by java >= 9 + ------------------------------------------------------------------- Wed Oct 20 19:54:36 UTC 2021 - Fridrich Strba diff --git a/objectweb-asm.spec b/objectweb-asm.spec index c9b6b63..6693e91 100644 --- a/objectweb-asm.spec +++ b/objectweb-asm.spec @@ -102,9 +102,6 @@ for i in asm asm-analysis asm-commons asm-tree asm-util asm-all; do %pom_remove_parent ${i} done -# We don't want to build modular jars -find . -name module-info.java -print -delete - %build %ant \ package javadoc From 540bac4265a44d388c09fb7959b31f73075dba7acf32fb37da96b2c1d3682ec0 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Wed, 2 Mar 2022 17:28:29 +0000 Subject: [PATCH 4/5] OBS-URL: https://build.opensuse.org/package/show/Java:packages/objectweb-asm?expand=0&rev=59 --- objectweb-asm-9.2-build.tar.xz | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/objectweb-asm-9.2-build.tar.xz b/objectweb-asm-9.2-build.tar.xz index bce0eab..4e8a0e4 100644 --- a/objectweb-asm-9.2-build.tar.xz +++ b/objectweb-asm-9.2-build.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9e35c3acd1fad03971b2768929153cbf3b8ec83fd8a975c63e0ae44130d09027 -size 3476 +oid sha256:bb6232e71bdbc26e3bd6bae6741450f3453d0e053d0cb3319edf7b4f26118194 +size 3468 From 834531bbb22b304e9abd676b1e57bc839fdd15df3a5064e77eda5e55d71115b1 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Thu, 3 Mar 2022 08:48:58 +0000 Subject: [PATCH 5/5] OBS-URL: https://build.opensuse.org/package/show/Java:packages/objectweb-asm?expand=0&rev=60 --- objectweb-asm.changes | 1 + 1 file changed, 1 insertion(+) diff --git a/objectweb-asm.changes b/objectweb-asm.changes index beb1145..7ebe95a 100644 --- a/objectweb-asm.changes +++ b/objectweb-asm.changes @@ -2,6 +2,7 @@ Wed Mar 2 17:03:01 UTC 2022 - Fridrich Strba - Build asm as modular jar files to be used as such by java >= 9 +- Leave asm-all.jar as a non-modular jar ------------------------------------------------------------------- Wed Oct 20 19:54:36 UTC 2021 - Fridrich Strba