Re: Textifier#visitMethod patch
Eric Bruneton <[email protected]> Sat, 11 Feb 2017 13:46:24 +0100
| Newsgroups | gmane.comp.java.objectweb.asm |
|---|---|
| Message-ID | <[email protected]> |
Thanks, I applied your patch.
> Hi,
>
> following is a tiny patch for Textifier which fixes prevents it from adding "transient" modifiers to vararg methods.
>
> Index: src/org/objectweb/asm/util/Textifier.java
> ===================================================================
> --- src/org/objectweb/asm/util/Textifier.java (revision 1842)
> +++ src/org/objectweb/asm/util/Textifier.java (revision )
> @@ -431,7 +431,7 @@
> }
>
> buf.append(tab);
> - appendAccess(access & ~Opcodes.ACC_VOLATILE);
> + appendAccess(access & ~(Opcodes.ACC_VOLATILE|Opcodes.ACC_TRANSIENT));
> if ((access & Opcodes.ACC_NATIVE) != 0) {
> buf.append("native ");
> }
>
>
>
>
--
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws