changeset 16221 | 38ac51eba133 |
parent 16151 | 97c1e756ae1e |
child 24778 | 2ff5d7041566 |
--- a/nashorn/test/script/basic/newexpr.js Wed Feb 06 12:51:09 2013 -0400 +++ b/nashorn/test/script/basic/newexpr.js Thu Feb 07 17:17:29 2013 +0530 @@ -29,7 +29,7 @@ */ var File = java.io.File; -print(new File(".").isDirectory()); +print(! new File(".").toString().isEmpty()); var obj = { foo : function (x) {