mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] temporarily reverts ASM #317621 fix (IDEA-158326)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
Index: org/objectweb/asm/Type.java
|
||||
===================================================================
|
||||
--- org/objectweb/asm/Type.java
|
||||
+++ org/objectweb/asm/Type.java
|
||||
@@ -377,16 +377,7 @@
|
||||
*/
|
||||
public static Type getReturnType(final String methodDescriptor) {
|
||||
char[] buf = methodDescriptor.toCharArray();
|
||||
- int off = 1;
|
||||
- while (true) {
|
||||
- char car = buf[off++];
|
||||
- if (car == ')') {
|
||||
- return getType(buf, off);
|
||||
- } else if (car == 'L') {
|
||||
- while (buf[off++] != ';') {
|
||||
- }
|
||||
- }
|
||||
- }
|
||||
+ return getType(buf, methodDescriptor.lastIndexOf(')') + 1);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -41,6 +41,7 @@
|
||||
<target name="patch" depends="unpack">
|
||||
<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_317621_fix_temp_revert.patch" failonerror="true"/>
|
||||
<delete file="${src.dir}/org/objectweb/asm/optimizer/ModuleInfoBndPlugin.java" quiet="true"/>
|
||||
</target>
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user