Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
28 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// javaVersion: 11+ | ||
// | ||
// skalac: --release:8 | ||
// trivial manual test for partest --realeasy, which sets --release:8. | ||
// under --realeasy, skip this test because of the javaVersion, irrespective of JDK in use. | ||
// otherwise, this test passes trivially on JDK11+ and is skipped on lesser JDKs. | ||
// note that explicit --release:8 asks to compile against JDK8 but only run on the requested version. | ||
|
||
object Test extends App { | ||
assert("".isBlank) // String#isBlank was added in JDK11 | ||
} |