Xjdk-release: support mixed compilation of Java and Kotlin
#KT-52815 Fixed
This commit is contained in:
committed by
Space Team
parent
9bd17f628d
commit
edc54524aa
+13
@@ -0,0 +1,13 @@
|
||||
// JDK_RELEASE: 10
|
||||
|
||||
// FILE: Example.java
|
||||
|
||||
public class Example {
|
||||
public static final String MESSAGE = "OK";
|
||||
}
|
||||
|
||||
// FILE: Kotlin.kt
|
||||
|
||||
fun box(): String {
|
||||
return Example.MESSAGE
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
// JDK_RELEASE: 11
|
||||
|
||||
// FILE: Example.java
|
||||
|
||||
public class Example {
|
||||
public static final String MESSAGE = "OK";
|
||||
}
|
||||
|
||||
// FILE: Kotlin.kt
|
||||
|
||||
fun box(): String {
|
||||
return Example.MESSAGE
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
// JDK_RELEASE: 6
|
||||
|
||||
// FILE: Example.java
|
||||
|
||||
public class Example {
|
||||
public static final String MESSAGE = "OK";
|
||||
}
|
||||
|
||||
// FILE: Kotlin.kt
|
||||
|
||||
fun box(): String {
|
||||
return Example.MESSAGE
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
// JDK_RELEASE: 8
|
||||
|
||||
// FILE: Example.java
|
||||
|
||||
public class Example {
|
||||
public static final String MESSAGE = "OK";
|
||||
}
|
||||
|
||||
// FILE: Kotlin.kt
|
||||
|
||||
fun box(): String {
|
||||
return Example.MESSAGE
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
// JDK_RELEASE: 9
|
||||
|
||||
// FILE: Example.java
|
||||
|
||||
public class Example {
|
||||
public static final String MESSAGE = "OK";
|
||||
}
|
||||
|
||||
// FILE: Kotlin.kt
|
||||
|
||||
fun box(): String {
|
||||
return Example.MESSAGE
|
||||
}
|
||||
Reference in New Issue
Block a user