mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
[java-decompiler] IDEA-346312 adapt patch 040
- recompile binary - small fix GitOrigin-RevId: edea43d2a138b38fc934a74e41ec256123d3a0e1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1875faaa53
commit
7f93c11ebc
@@ -175,7 +175,7 @@ public class MethodProcessorRunnable implements Runnable {
|
||||
|
||||
cancellationManager.checkCanceled();
|
||||
|
||||
if (cl.isVersion(CodeConstants.BYTECODE_JAVA_9)) {
|
||||
if (cl.isVersion9()) {
|
||||
ConcatenationHelper.simplifyStringConcat(root);
|
||||
}
|
||||
|
||||
|
||||
@@ -252,6 +252,10 @@ public class StructClass extends StructMember {
|
||||
return majorVersion >= CodeConstants.BYTECODE_JAVA_8;
|
||||
}
|
||||
|
||||
public boolean isVersion9() {
|
||||
return majorVersion >= CodeConstants.BYTECODE_JAVA_9;
|
||||
}
|
||||
|
||||
public boolean isVersion14() {
|
||||
return majorVersion >= CodeConstants.BYTECODE_JAVA_14;
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -26,7 +26,7 @@ public class TestJava11StringConcatEmptyAffix {
|
||||
}
|
||||
|
||||
public String testIntSuffix(int value) {
|
||||
return "" + value + "suffix";// 32
|
||||
return value + "suffix";// 32
|
||||
}
|
||||
|
||||
public String testStringSuffix(String value) {
|
||||
|
||||
Reference in New Issue
Block a user