8133623: JDK-8055034.js and JDK-8130127.js fail in nashorn nightly

Reviewed-by: sundar, hannesw
This commit is contained in:
Priya Lakshmi Muthuswamy 2017-09-27 15:26:35 +02:00 committed by Hannes Wallnöfer
parent a00dba8a16
commit 10f7bd1ab6
3 changed files with 7 additions and 3 deletions
test/nashorn/script

@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it

@ -0,0 +1,6 @@
jjs> var x = Object.create(null);
jjs> x;
jjs> print('PASSED');
PASSED
jjs> exit(0)
exit code = 0