[projects] patches a cosmetic issue in ASM bytecode printer (IDEA-166121)

This commit is contained in:
Roman Shevchenko
2017-01-02 13:16:50 +01:00
parent e40cb63865
commit 7bf755814f
4 changed files with 14 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
Index: org/objectweb/asm/util/Textifier.java
===================================================================
--- org/objectweb/asm/util/Textifier.java
+++ org/objectweb/asm/util/Textifier.java
@@ -425,7 +425,7 @@
}
buf.append(tab);
- appendAccess(access & ~Opcodes.ACC_VOLATILE);
+ appendAccess(access & ~(Opcodes.ACC_VOLATILE|Opcodes.ACC_TRANSIENT)); //[JB: IDEA-166121]
if ((access & Opcodes.ACC_NATIVE) != 0) {
buf.append("native ");
}

View File

@@ -42,6 +42,7 @@
<patch dir="${src.dir}" strip="0" patchfile="1_version_check.patch" failonerror="true"/>
<patch dir="${src.dir}" strip="0" patchfile="2_coverage_fix.patch" failonerror="true"/>
<patch dir="${src.dir}" strip="0" patchfile="3_api_version.patch" failonerror="true"/>
<patch dir="${src.dir}" strip="0" patchfile="4_textifier_transient_method.patch" failonerror="true"/>
<delete file="${src.dir}/org/objectweb/asm/optimizer/ModuleInfoBndPlugin.java" quiet="true"/>
</target>

Binary file not shown.

Binary file not shown.