8173888: Test for JDK-8169481 causes stack overflows in parser tests
Reviewed-by: jlaskey, sundar
This commit is contained in:
parent
e2ce2a3727
commit
00665f9723
@ -23,4 +23,4 @@
|
||||
#
|
||||
###########################################################################
|
||||
|
||||
src/jdk/nashorn/api/tree/test/ParseAPITest.java 8173863 linux-i586,windows-i586,solaris-sparcv9
|
||||
# No nashorn tests are on the problem list.
|
||||
|
@ -35,13 +35,9 @@ var File = Java.type("java.io.File");
|
||||
var FilenameFilter = Java.type("java.io.FilenameFilter");
|
||||
var SourceHelper = Java.type("jdk.nashorn.test.models.SourceHelper")
|
||||
|
||||
var skippedTests = {
|
||||
"JDK-8169481.js": true // deep AST can cause stack overflow
|
||||
};
|
||||
|
||||
// Filter out non .js files
|
||||
var files = new File(__DIR__).listFiles(new FilenameFilter() {
|
||||
accept: function(f, n) { return n.endsWith(".js") && !(n in skippedTests) }
|
||||
accept: function(f, n) { return n.endsWith(".js") }
|
||||
});
|
||||
|
||||
// load parser API
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user