asm merge requestshttps://gitlab.ow2.org/asm/asm/-/merge_requests2020-03-22T17:20:31Zhttps://gitlab.ow2.org/asm/asm/-/merge_requests/282support Opcodes.V15 in ASMifier2020-03-22T17:20:31ZRemi Foraxsupport Opcodes.V15 in ASMifierAdd support for Java 15 versionAdd support for Java 15 versionEric BrunetonEric Brunetonhttps://gitlab.ow2.org/asm/asm/-/merge_requests/281update to support V152020-01-05T11:18:19ZRemi Foraxupdate to support V15Add support of Java 15 bytecode.
The only feature that impacts bytecode for 15 is the sealed type (the PermittedSubtypes attribute) which is already supported by ASM8_EXPERIMENTALAdd support of Java 15 bytecode.
The only feature that impacts bytecode for 15 is the sealed type (the PermittedSubtypes attribute) which is already supported by ASM8_EXPERIMENTALEric BrunetonEric Brunetonhttps://gitlab.ow2.org/asm/asm/-/merge_requests/280Added ClassLoader argument for constructor in ClassReader.2019-12-14T10:27:19ZMaroš PrejsaAdded ClassLoader argument for constructor in ClassReader.https://gitlab.ow2.org/asm/asm/-/merge_requests/279Add an abstract MemberVisitor class to be able to reduce code duplication in...2019-11-25T19:10:22ZEric BrunetonAdd an abstract MemberVisitor class to be able to reduce code duplication in...Add an abstract MemberVisitor class to be able to reduce code duplication in ClassReader. Not sure if the class and/or its methods must be public.
Results of 3 benchmark runs with this change:
Benchmark Mode C...Add an abstract MemberVisitor class to be able to reduce code duplication in ClassReader. Not sure if the class and/or its methods must be public.
Results of 3 benchmark runs with this change:
Benchmark Mode Cnt Score Error Units
AdapterBenchmark.read_asm7_1 thrpt 30 623,892 ± 1,506 ops/s
AdapterBenchmark.read_asmCurrent thrpt 30 621,629 ± 1,835 ops/s
Benchmark Mode Cnt Score Error Units
AdapterBenchmark.read_asm7_1 thrpt 30 624,589 ± 1,260 ops/s
AdapterBenchmark.read_asmCurrent thrpt 30 622,971 ± 2,541 ops/s
Benchmark Mode Cnt Score Error Units
AdapterBenchmark.read_asm7_1 thrpt 30 623,515 ± 1,680 ops/s
AdapterBenchmark.read_asmCurrent thrpt 30 622,151 ± 1,619 ops/s
and without it:
Benchmark Mode Cnt Score Error Units
AdapterBenchmark.read_asm7_1 thrpt 30 624,141 ± 1,511 ops/s
AdapterBenchmark.read_asmCurrent thrpt 30 625,117 ± 1,653 ops/s
Benchmark Mode Cnt Score Error Units
AdapterBenchmark.read_asm7_1 thrpt 30 607,326 ± 1,285 ops/s
AdapterBenchmark.read_asmCurrent thrpt 30 621,902 ± 1,259 ops/s
Benchmark Mode Cnt Score Error Units
AdapterBenchmark.read_asm7_1 thrpt 30 623,548 ± 1,490 ops/s
AdapterBenchmark.read_asmCurrent thrpt 30 621,814 ± 1,579 ops/sRemi ForaxRemi Foraxhttps://gitlab.ow2.org/asm/asm/-/merge_requests/278Skip the MethodParameters attribute if SKIP_DEBUG is used.2020-10-02T21:38:40ZEric BrunetonSkip the MethodParameters attribute if SKIP_DEBUG is used.Closes #317885Closes #317885Remi ForaxRemi Foraxhttps://gitlab.ow2.org/asm/asm/-/merge_requests/277Update JaCoCo to version 0.8.52019-10-14T17:29:36ZEvgeny MandrikovUpdate JaCoCo to version 0.8.5JaCoCo 0.8.5 uses ASM 7.2
Full changelog - https://www.jacoco.org/jacoco/trunk/doc/changes.htmlJaCoCo 0.8.5 uses ASM 7.2
Full changelog - https://www.jacoco.org/jacoco/trunk/doc/changes.htmlhttps://gitlab.ow2.org/asm/asm/-/merge_requests/276Restrict the bypass check in checkAsm8Experimental. Also add missing factory...2019-10-20T07:12:40ZEric BrunetonRestrict the bypass check in checkAsm8Experimental. Also add missing factory...Restrict the bypass check in checkAsm8Experimental(). Also add missing factory methods in Remapper classes. This is to discourage users to define classes in the asm package to bypass the check (the only remaining possibility is to use in...Restrict the bypass check in checkAsm8Experimental(). Also add missing factory methods in Remapper classes. This is to discourage users to define classes in the asm package to bypass the check (the only remaining possibility is to use inner classes in classes with a name ending with "Test").Remi ForaxRemi Foraxhttps://gitlab.ow2.org/asm/asm/-/merge_requests/275Add the support of the Record attribute2019-10-14T18:11:11ZRemi ForaxAdd the support of the Record attributeAdd the support of the Record attribute which is composed of record component (a name and a descriptor) which indicates that the class is a record with one accessor per component and a generated equals/hashCode and toString.Add the support of the Record attribute which is composed of record component (a name and a descriptor) which indicates that the class is a record with one accessor per component and a generated equals/hashCode and toString.Eric BrunetonEric Brunetonhttps://gitlab.ow2.org/asm/asm/-/merge_requests/274add ASM8_EXPERIMENTAL API + support of PermittedSubtypes attribute2019-10-09T08:42:39ZRemi Foraxadd ASM8_EXPERIMENTAL API + support of PermittedSubtypes attributeAs we discuss, this patch add ASM8_EXPERIMENTAL, i've slighly modified the code you send me because getResourceAsStream can return null and the InputStream as to be closed.
BTW, PMD is currently configured to not allow an empty catch eve...As we discuss, this patch add ASM8_EXPERIMENTAL, i've slighly modified the code you send me because getResourceAsStream can return null and the InputStream as to be closed.
BTW, PMD is currently configured to not allow an empty catch even if there is a comment in it, but here the right thing to do if we want still to be 1.5 compatible is to ignore the exception that can be raised by close().
Also because we don't run the tests with --enable-preview, i can not write a test to test that at least a roundtrip worksEric BrunetonEric Brunetonhttps://gitlab.ow2.org/asm/asm/-/merge_requests/273Publish the license to Maven. It will be available at URLs such as...2019-09-12T07:40:36ZEric BrunetonPublish the license to Maven. It will be available at URLs such as...Publish the license to Maven. It will be available at URLs such as https://repo1.maven.org/maven2/org/ow2/asm/asm/7.2/asm-7.2-LICENSE.txt.
Closes #317881Publish the license to Maven. It will be available at URLs such as https://repo1.maven.org/maven2/org/ow2/asm/asm/7.2/asm-7.2-LICENSE.txt.
Closes #317881https://gitlab.ow2.org/asm/asm/-/merge_requests/272Document some limitations of ClassRemapper.2019-09-21T12:02:12ZEric BrunetonDocument some limitations of ClassRemapper.Closes #317882Closes #317882Remi ForaxRemi Foraxhttps://gitlab.ow2.org/asm/asm/-/merge_requests/271Don't sign snapshot releases. Gitlab CI currently fails because signing keys...2019-08-08T12:17:37ZEric BrunetonDon't sign snapshot releases. Gitlab CI currently fails because signing keys...Don't sign snapshot releases. Gitlab CI currently fails because signing keys are missing to sign snapshot releases.Don't sign snapshot releases. Gitlab CI currently fails because signing keys are missing to sign snapshot releases.https://gitlab.ow2.org/asm/asm/-/merge_requests/270Clarify license name and fix some dead links.2019-08-08T12:44:21ZEric BrunetonClarify license name and fix some dead links.Closes #317880.Closes #317880.Remi ForaxRemi Foraxhttps://gitlab.ow2.org/asm/asm/-/merge_requests/269Make the jars signed and byte-for-byte reproducible.2019-08-07T12:17:03ZEric BrunetonMake the jars signed and byte-for-byte reproducible.Closes #317879 and #317878.Closes #317879 and #317878.Remi ForaxRemi Foraxhttps://gitlab.ow2.org/asm/asm/-/merge_requests/268Make build jars reproducible2019-08-07T12:17:20ZVladimir SitnikovMake build jars reproduciblefixes https://gitlab.ow2.org/asm/asm/issues/317879fixes https://gitlab.ow2.org/asm/asm/issues/317879https://gitlab.ow2.org/asm/asm/-/merge_requests/267Fix infinite loop with invalid arguments.2019-07-15T18:02:49ZEric BrunetonFix infinite loop with invalid arguments.Closes #317875. Note: this is the only refactoring I found which preserves performance (measured with the jmh TypeBenchmark benchmark).Closes #317875. Note: this is the only refactoring I found which preserves performance (measured with the jmh TypeBenchmark benchmark).Remi ForaxRemi Foraxhttps://gitlab.ow2.org/asm/asm/-/merge_requests/266Make InsnList derive from Iterable, because it is an iterable2019-07-14T12:29:30Zkb1000Make InsnList derive from Iterable, because it is an iterableCurrently a for-each loop on an InsnList isn't supported, even though it could be. This adds support for that.Currently a for-each loop on an InsnList isn't supported, even though it could be. This adds support for that.https://gitlab.ow2.org/asm/asm/-/merge_requests/265Use clone() instead of manual population of array copy2019-07-14T12:55:29ZСергей ЦыпановUse clone() instead of manual population of array copyWhen no offset applied and the length of source and target is the same we can use clone() instead of creating and populating array manually.When no offset applied and the length of source and target is the same we can use clone() instead of creating and populating array manually.https://gitlab.ow2.org/asm/asm/-/merge_requests/264add support of Java 14 version2019-06-17T20:49:06ZRemi Foraxadd support of Java 14 versionThe first beta of Java 14 has been out.
Java 14 has no plan to introduce any bytecode changes,
so supporting Java 14 is a simple as bumping the version number.The first beta of Java 14 has been out.
Java 14 has no plan to introduce any bytecode changes,
so supporting Java 14 is a simple as bumping the version number.Eric BrunetonEric Brunetonhttps://gitlab.ow2.org/asm/asm/-/merge_requests/263Throw an exception if visitFrame is used incorrectly for old class versions.2019-06-17T17:46:53ZEric BrunetonThrow an exception if visitFrame is used incorrectly for old class versions.Closes #317872Closes #317872Remi ForaxRemi Forax