Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7N4ZDbUtA3ofqAqRV
21 lines
618 B
Plaintext
21 lines
618 B
Plaintext
$ JDK 27: javac behaviour/RawConditional.java
|
|
exit 0
|
|
|
|
$ JDK 28: javac behaviour/RawConditional.java
|
|
behaviour/RawConditional.java:5: error: incompatible types: Object cannot be converted to Integer
|
|
return (b ? parameterized : raw).get(0);
|
|
^
|
|
1 error
|
|
exit 1
|
|
|
|
$ JDK 27: javac behaviour/SwitchGuard.java
|
|
exit 0
|
|
|
|
$ JDK 28: javac behaviour/SwitchGuard.java
|
|
behaviour/SwitchGuard.java:6: error: unreported exception Exception; must be caught or declared to be thrown
|
|
case String s when check(s) -> "empty";
|
|
^
|
|
1 error
|
|
exit 1
|
|
|