Skip to content

Commit 3bda224

Browse files
committed
java11 update
1 parent 3284e7d commit 3bda224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/net.sf.j2s.java.core/src/test/Test_J8_Stream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ public static void main(String[] args) {
4343
long n = 0;
4444
if (/** @j2sNative true || */
4545
false) {
46+
// this is Java 11, so JavaScript-only test here
4647
String s = "\u0000test";
4748
assert (s.trim().length() == 4);
4849
n = (/** @j2sNative s.strip$().length || */0);
4950
System.out.println("strip gives length " + n);
5051
assert (n == 5);
5152

52-
// this is Java 11, so JavaScript-only test here
5353
Stream<String> o = /** @j2sNative st.lines$() || */
5454
null;
5555
if (o != null) {

0 commit comments

Comments
 (0)