mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
Fixing test.
This commit is contained in:
parent
cfa2efafd4
commit
1e6a0183a9
@ -2,7 +2,7 @@
|
||||
* @test /nodynamiccopyright/
|
||||
* @summary Retain exhaustiveness properties of switches with a constant selector
|
||||
* @enablePreview
|
||||
* @compile/fail/ref=PrimitivePatternsSwitchConstants.out -XDrawDiagnostics -XDshould-stop.at=FLOW PrimitivePatternsSwitchConstants.java
|
||||
* @compile/fail/ref=PrimitivePatternsSwitchConstants.out -XDrawDiagnostics -XDshould-stop.at=FLOW -XDexhaustivityTimeout=0 PrimitivePatternsSwitchConstants.java
|
||||
*/
|
||||
public class PrimitivePatternsSwitchConstants {
|
||||
void testConstExpressions() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user