Skip to content

Instantly share code, notes, and snippets.

@xuwei-k
Last active January 17, 2017 10:50
Show Gist options
  • Save xuwei-k/6813a9a743a34f0033a5eec27012898a to your computer and use it in GitHub Desktop.
Save xuwei-k/6813a9a743a34f0033a5eec27012898a to your computer and use it in GitHub Desktop.
kotlinにおけるバイナリ互換とは
reporter master > r --prev "/Users/kenji_yoshida/.ivy2/cache/org.jetbrains.kotlin/kotlin-runtime/jars/kotlin-runtime-1.0.0.jar" --curr "/Users/kenji_yoshida/.ivy2/cache/org.jetbrains.kotlin/kotlin-runtime/jars/kotlin-runtime-1.0.6.jar"
[info] Running com.typesafe.tools.mima.cli.Main --prev /Users/kenji_yoshida/.ivy2/cache/org.jetbrains.kotlin/kotlin-runtime/jars/kotlin-runtime-1.0.0.jar --curr /Users/kenji_yoshida/.ivy2/cache/org.jetbrains.kotlin/kotlin-runtime/jars/kotlin-runtime-1.0.6.jar
Found 9 binary incompatibilities
================================
* method charArrayOf(Array[Char])Array[Char] in class
kotlin.ArrayIntrinsicsKt does not have a correspondent in current version
* method floatArrayOf(Array[Float])Array[Float] in class
kotlin.ArrayIntrinsicsKt does not have a correspondent in current version
* method shortArrayOf(Array[Short])Array[Short] in class
kotlin.ArrayIntrinsicsKt does not have a correspondent in current version
* method doubleArrayOf(Array[Double])Array[Double] in class
kotlin.ArrayIntrinsicsKt does not have a correspondent in current version
* method byteArrayOf(Array[Byte])Array[Byte] in class
kotlin.ArrayIntrinsicsKt does not have a correspondent in current version
* method longArrayOf(Array[Long])Array[Long] in class
kotlin.ArrayIntrinsicsKt does not have a correspondent in current version
* method booleanArrayOf(Array[Boolean])Array[Boolean] in class
kotlin.ArrayIntrinsicsKt does not have a correspondent in current version
* method intArrayOf(Array[Int])Array[Int] in class kotlin.ArrayIntrinsicsKt
does not have a correspondent in current version
* abstract method xi()Int in interface kotlin.Metadata is present only in
current version
Exception: sbt.TrapExitSecurityException thrown from the UncaughtExceptionHandler in thread "run-main-5"
java.lang.RuntimeException: Nonzero exit code: 9
at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last reporter/compile:run for the full output.
[error] (reporter/compile:run) Nonzero exit code: 9
reporter master > r --prev "/Users/kenji_yoshida/.ivy2/cache/org.jetbrains.kotlin/kotlin-stdlib/jars/kotlin-stdlib-1.0.0.jar" --curr "/Users/kenji_yoshida/.ivy2/cache/org.jetbrains.kotlin/kotlin-stdlib/jars/kotlin-stdlib-1.0.6.jar"
[info] Running com.typesafe.tools.mima.cli.Main --prev /Users/kenji_yoshida/.ivy2/cache/org.jetbrains.kotlin/kotlin-stdlib/jars/kotlin-stdlib-1.0.0.jar --curr /Users/kenji_yoshida/.ivy2/cache/org.jetbrains.kotlin/kotlin-stdlib/jars/kotlin-stdlib-1.0.6.jar
Found 15 binary incompatibilities
=================================
* abstract method removeAll(java.util.Collection)Boolean in interface
kotlin.text.MatchGroupCollection does not have a correspondent in current
version
* abstract method clear()Unit in interface kotlin.text.MatchGroupCollection
does not have a correspondent in current version
* abstract method retainAll(java.util.Collection)Boolean in interface
kotlin.text.MatchGroupCollection does not have a correspondent in current
version
* abstract method toArray(Array[java.lang.Object])Array[java.lang.Object]
in interface kotlin.text.MatchGroupCollection does not have a correspondent
in current version
* abstract method toArray()Array[java.lang.Object] in interface
kotlin.text.MatchGroupCollection does not have a correspondent in current
version
* abstract method remove(java.lang.Object)Boolean in interface
kotlin.text.MatchGroupCollection does not have a correspondent in current
version
* abstract method remove(kotlin.text.MatchGroup)Boolean in interface
kotlin.text.MatchGroupCollection does not have a correspondent in current
version
* abstract method addAll(java.util.Collection)Boolean in interface
kotlin.text.MatchGroupCollection does not have a correspondent in current
version
* abstract method iterator()java.util.Iterator in interface
kotlin.text.MatchGroupCollection does not have a correspondent in current
version
* abstract method add(kotlin.text.MatchGroup)Boolean in interface
kotlin.text.MatchGroupCollection does not have a correspondent in current
version
* method removeAt(Int)java.lang.Void in class kotlin.collections.EmptyList
does not have a correspondent in current version
* method remove(java.lang.Void)Boolean in class
kotlin.collections.EmptyList in current version does not have a
correspondent with same parameter signature among (Int)java.lang.Object,
(java.lang.Object)Boolean
* method remove(java.lang.Void)Boolean in class
kotlin.collections.EmptySet's type is different in current version, where it
is (java.lang.Object)Boolean instead of (java.lang.Void)Boolean
* method monitorEnter(java.lang.Object)Unit in class
kotlin.jvm.internal.unsafe.MonitorKt does not have a correspondent in
current version
* method monitorExit(java.lang.Object)Unit in class
kotlin.jvm.internal.unsafe.MonitorKt does not have a correspondent in
current version
Exception: sbt.TrapExitSecurityException thrown from the UncaughtExceptionHandler in thread "run-main-4"
java.lang.RuntimeException: Nonzero exit code: 15
at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last reporter/compile:run for the full output.
[error] (reporter/compile:run) Nonzero exit code: 15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment