asm merge requestshttps://gitlab.ow2.org/asm/asm/-/merge_requests2020-07-04T18:07:07Zhttps://gitlab.ow2.org/asm/asm/-/merge_requests/291Move to ASM9 / JDK 15 + experimental support of JDK 162020-07-04T18:07:07ZRemi ForaxMove to ASM9 / JDK 15 + experimental support of JDK 16This patch
- rename PermittedSubtypes to PermittedSubclasses per upcoming VM spec
- visitPermittedSubclasses() is not experimental anymore, i've choosen to create a ASM10_EXPERIMENTAL even if there is no experimental feature anymore, it ...This patch
- rename PermittedSubtypes to PermittedSubclasses per upcoming VM spec
- visitPermittedSubclasses() is not experimental anymore, i've choosen to create a ASM10_EXPERIMENTAL even if there is no experimental feature anymore, it makes the code more clean (ASM9 (latest api) != ASM10_EXPERIMENTAL (latest))
- rename some accidentally overloaded methods to appease CheckStyle
- add ASM9 API
- add support of JDK 16 version (60)
The patch will be squashed before being merged.Eric BrunetonEric Brunetonhttps://gitlab.ow2.org/asm/asm/-/merge_requests/290Resolve "ASM throws ArrayIndexOutOfBoundsException when processing kotlin cla...2020-06-13T09:20:42ZEric BrunetonResolve "ASM throws ArrayIndexOutOfBoundsException when processing kotlin class file using both Inline Function and Multiplatform Project"Closes #317904Closes #317904Remi ForaxRemi Foraxhttps://gitlab.ow2.org/asm/asm/-/merge_requests/288Add support for empty record2020-04-02T16:24:15ZRemi ForaxAdd support for empty recordThis is a fix for #317898
A merge request is available here: https://gitlab.ow2.org/asm/asm/-/merge_requests/287
but the commit history was reworked into 2 separate commits.This is a fix for #317898
A merge request is available here: https://gitlab.ow2.org/asm/asm/-/merge_requests/287
but the commit history was reworked into 2 separate commits.Eric BrunetonEric Brunetonhttps://gitlab.ow2.org/asm/asm/-/merge_requests/286add an example of generics signature on a record component to improve the cod...2020-03-27T19:10:45ZRemi Foraxadd an example of generics signature on a record component to improve the code coverageAdd an example of generics signature on a record component to improve the code coverageAdd an example of generics signature on a record component to improve the code coverageEric BrunetonEric Brunetonhttps://gitlab.ow2.org/asm/asm/-/merge_requests/285Fix recursive condy perf issue2020-03-27T17:39:59ZRemi ForaxFix recursive condy perf issueThis is a fix to #317896
I've added a test with a timeout to reproduce the issue, i think 1 second is enough even on a slow CI to pass the test with the fix.
@ebruneton, should i squash this PR during the merge ?This is a fix to #317896
I've added a test with a timeout to reproduce the issue, i think 1 second is enough even on a slow CI to pass the test with the fix.
@ebruneton, should i squash this PR during the merge ?Eric BrunetonEric Brunetonhttps://gitlab.ow2.org/asm/asm/-/merge_requests/283add ASM8 api, make recordComponent a feature, add ASM9_EXPERIMENTAL2020-03-23T19:15:00ZRemi Foraxadd ASM8 api, make recordComponent a feature, add ASM9_EXPERIMENTALIntroduce ASM8 api with record support (the attribute Record)
add ASM9_EXPERIMENTAL for the support of sealed types (the attribute PermittedSubtypes)
There is a regression in the code coverage but i have no idea how to see the code cove...Introduce ASM8 api with record support (the attribute Record)
add ASM9_EXPERIMENTAL for the support of sealed types (the attribute PermittedSubtypes)
There is a regression in the code coverage but i have no idea how to see the code coverage in IntelliJ to fix that.Eric BrunetonEric Brunetonhttps://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/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/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/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.