We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3284e7d commit 3bda224Copy full SHA for 3bda224
sources/net.sf.j2s.java.core/src/test/Test_J8_Stream.java
@@ -43,13 +43,13 @@ public static void main(String[] args) {
43
long n = 0;
44
if (/** @j2sNative true || */
45
false) {
46
+ // this is Java 11, so JavaScript-only test here
47
String s = "\u0000test";
48
assert (s.trim().length() == 4);
49
n = (/** @j2sNative s.strip$().length || */0);
50
System.out.println("strip gives length " + n);
51
assert (n == 5);
52
- // this is Java 11, so JavaScript-only test here
53
Stream<String> o = /** @j2sNative st.lines$() || */
54
null;
55
if (o != null) {
0 commit comments