Release flag. Add diagnostics
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
error: can't find modules signatures in `ct.sym` file for `-Xrelease=12` in $JDK11/lib/ct.sym
|
||||
error: module java.base cannot be found in the module graph
|
||||
COMPILATION_ERROR
|
||||
@@ -0,0 +1,6 @@
|
||||
package foo;
|
||||
|
||||
public class Foo {
|
||||
val z: java.nio.ByteBuffer? = null
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
error: `5` is not valid value for `-Xrelease` flag.
|
||||
COMPILATION_ERROR
|
||||
@@ -0,0 +1,5 @@
|
||||
package foo;
|
||||
|
||||
public class Foo {
|
||||
val z: java.nio.ByteBuffer? = null
|
||||
}
|
||||
Reference in New Issue
Block a user