Hi Mirko,
first of all: Nice to see you back here :-)
This seems to be an issue with the Kotlin compiler. The compiled class
file AppKt has a reference to line 18 in method outer(). See decmpiled
version below. JaCoCo simply takes this debug line information from the
class file.
Cheers,
-marc
Classfile
/Users/marc/git/jacoco-kotlin-sample/target/classes/de/friedenhagen/jacocokotlinsample/AppKt.class
Last modified 26.01.2017; size 1107 bytes
MD5 checksum 5f18406d76db819836b94e2d5a6193df
Compiled from "App.kt"
public final class de.friedenhagen.jacocokotlinsample.AppKt
SourceFile: "App.kt"
SourceDebugExtension:
SMAP
App.kt
Kotlin
*S Kotlin
*F
+ 1 App.kt
de/friedenhagen/jacocokotlinsample/AppKt
+ 2 IntrinsicArrayConstructors.kt
org/jetbrains/kotlin/codegen/intrinsics/IntrinsicArrayConstructorsKt
*L
1#1,17:1
39#2:18
*E
*S KotlinDebug
*F
+ 1 App.kt
de/friedenhagen/jacocokotlinsample/AppKt
*L
16#1:18
*E
RuntimeVisibleAnnotations:
0:
#26(#27=[I#28,I#28,I#28],#29=[I#28,I#30,I#30],#31=I#32,#33=[s#34],#35=[s#5,s#36,s#37])
minor version: 0
major version: 50
flags: ACC_PUBLIC, ACC_FINAL, ACC_SUPER
Constant pool:
#1 = Utf8 de/friedenhagen/jacocokotlinsample/AppKt
#2 = Class #1 //
de/friedenhagen/jacocokotlinsample/AppKt
#3 = Utf8 java/lang/Object
#4 = Class #3 // java/lang/Object
#5 = Utf8 outer
#6 = Utf8 ()V
#7 = Utf8 de/friedenhagen/jacocokotlinsample/App
#8 = Class #7 //
de/friedenhagen/jacocokotlinsample/App
#9 = Utf8 Companion
#10 = Utf8 Lde/friedenhagen/jacocokotlinsample/App$Companion;
#11 = NameAndType #9:#10 //
Companion:Lde/friedenhagen/jacocokotlinsample/App$Companion;
#12 = Fieldref #8.#11 //
de/friedenhagen/jacocokotlinsample/App.Companion:Lde/friedenhagen/jacocokotlinsample/App$Companion;
#13 = Utf8 java/lang/String
#14 = Class #13 // java/lang/String
#15 = Utf8 [Ljava/lang/Object;
#16 = Class #15 // "[Ljava/lang/Object;"
#17 = Utf8 [Ljava/lang/String;
#18 = Class #17 // "[Ljava/lang/String;"
#19 = Utf8 de/friedenhagen/jacocokotlinsample/App$Companion
#20 = Class #19 //
de/friedenhagen/jacocokotlinsample/App$Companion
#21 = Utf8 main
#22 = Utf8 ([Ljava/lang/String;)V
#23 = NameAndType #21:#22 // main:([Ljava/lang/String;)V
#24 = Methodref #20.#23 //
de/friedenhagen/jacocokotlinsample/App$Companion.main:([Ljava/lang/String;)V
#25 = Utf8 elements$iv
#26 = Utf8 Lkotlin/Metadata;
#27 = Utf8 mv
#28 = Integer 1
#29 = Utf8 bv
#30 = Integer 0
#31 = Utf8 k
#32 = Integer 2
#33 = Utf8 d1
#34 = Utf8
--
You received this message because you are subscribed to the Google Groups "JaCoCo
and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to jacoco+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/13e7fb57-0c08-4800-d173-7947387f7453%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.