Release flag. Check conflicts with `-jvm-target'
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
error: `-Xrelease=11` option conflicts with '-jvm-target=10'.
|
||||
COMPILATION_ERROR
|
||||
@@ -0,0 +1,6 @@
|
||||
package foo;
|
||||
|
||||
public class Foo {
|
||||
|
||||
val z: java.nio.ByteBuffer? = null
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
error: `-Xrelease=9` option conflicts with '-jvm-target=10'.
|
||||
COMPILATION_ERROR
|
||||
@@ -0,0 +1,6 @@
|
||||
package foo;
|
||||
|
||||
public class Foo {
|
||||
|
||||
val z: java.nio.ByteBuffer? = null
|
||||
}
|
||||
Reference in New Issue
Block a user