Restore JDK 11 source editing for Desugar{Double, Integer, Long, Math}.
Change back to the OpenJDK 11 original source and rely on retargeting config.
@@ -561,6 +561,28 @@ replacements {
range: DESUGAR_JAVA8_CORE_LIBS
}
+replacements {
+ source {
+ opcode: 184
+ method_id {
+ owner: "java/lang/Integer"
+ name: "parseInt"
+ desc: "(Ljava/lang/CharSequence;III)I"
+ }
+ is_interface: false
+ }
+ destination {
+ opcode: 184
+ method_id {
+ owner: "java/lang/DesugarInteger"
+ name: "parseInt"
+ desc: "(Ljava/lang/CharSequence;III)I"
+ }
+ is_interface: false
+ }
+ range: DESUGAR_JAVA8_CORE_LIBS
+}
+
replacements {
source {
method_id {
@@ -672,6 +694,28 @@ replacements {
auto_deduce_opcode_and_desc: true
}
+replacements {
+ source {
+ opcode: 184
+ method_id {
+ owner: "java/lang/Long"
+ name: "parseLong"
+ desc: "(Ljava/lang/CharSequence;III)J"
+ }
+ is_interface: false
+ }
+ destination {
+ opcode: 184
+ method_id {
+ owner: "java/lang/DesugarLong"
+ name: "parseLong"
+ desc: "(Ljava/lang/CharSequence;III)J"
+ }
+ is_interface: false
+ }
+ range: DESUGAR_JAVA8_CORE_LIBS
+}
+
replacements {
source {
method_id {
