diff --git a/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt b/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt index 0e4145b9a6e..fc3fdd527a1 100644 --- a/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt +++ b/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt @@ -263,8 +263,8 @@ class K2JVMCompilerArguments : CommonCompilerArguments() { @Argument( value = "-Xsanitize-parentheses", description = "Transform '(' and ')' in method names to some other character sequence.\n" + - "This mode can BREAK BINARY COMPATIBILITY and is only supposed to be used as a workaround\n" + - "of an issue in the ASM bytecode framework. See KT-29475 for more details" + "This mode can BREAK BINARY COMPATIBILITY and is only supposed to be used to workaround\n" + + "problems with parentheses in identifiers on certain platforms" ) var sanitizeParentheses: Boolean by FreezableVar(false) diff --git a/compiler/testData/cli/jvm/extraHelp.out b/compiler/testData/cli/jvm/extraHelp.out index fedea193b4a..2a21dd8576e 100644 --- a/compiler/testData/cli/jvm/extraHelp.out +++ b/compiler/testData/cli/jvm/extraHelp.out @@ -49,8 +49,8 @@ where advanced options include: -Xno-param-assertions Don't generate not-null assertions on parameters of methods accessible from Java -Xno-receiver-assertions Don't generate not-null assertion for extension receiver arguments of platform types -Xsanitize-parentheses Transform '(' and ')' in method names to some other character sequence. - This mode can BREAK BINARY COMPATIBILITY and is only supposed to be used as a workaround - of an issue in the ASM bytecode framework. See KT-29475 for more details + This mode can BREAK BINARY COMPATIBILITY and is only supposed to be used to workaround + problems with parentheses in identifiers on certain platforms -Xscript-resolver-environment= Script resolver environment in key-value pairs (the value could be quoted and escaped) -Xsingle-module Combine modules for source files and binary dependencies into a single module diff --git a/compiler/testData/codegen/box/mangling/parentheses.kt b/compiler/testData/codegen/box/mangling/parentheses.kt index 2b6e15d73b7..ee632bd30af 100644 --- a/compiler/testData/codegen/box/mangling/parentheses.kt +++ b/compiler/testData/codegen/box/mangling/parentheses.kt @@ -1,10 +1,7 @@ // !SANITIZE_PARENTHESES // IGNORE_BACKEND: JS, JS_IR -// Sanitization is needed here because of an ASM bug: https://gitlab.ow2.org/asm/asm/issues/317868 -// As soon as that bug is fixed and we've updated to the new version of ASM, this test will start to pass without sanitization. -// At that point, we should remove the -Xsanitize-parentheses compiler argument. -// Also don't forget to disable this test on Android where parentheses are not allowed in names +// Sanitization is needed here because DxChecker reports ParseException on parentheses in names. class `()` { fun `()`(): String {