File tree Expand file tree Collapse file tree 2 files changed +16
-12
lines changed
js/js.translator/testData/js-optimizer/labeled-block-to-do-while Expand file tree Collapse file tree 2 files changed +16
-12
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,14 @@ function box() {
77 var f = functions [ i ] ;
88 var result = f ( ) ;
99
10- if ( f . toString ( ) . indexOf ( "label: do {" ) < 0 ) {
11- // http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8177691
12- if ( result === "OK" ) return "Looks like JDK-8177691 fixed for " + f ;
13- if ( result !== void 0 ) return "Result of function changed: " + f ;
14- }
15- else if ( result !== "OK" ) {
10+ // Disabled check to run js optimizer tests using V8.
11+ // Created the issue KT-39337 to address it separately.
12+ // if (f.toString().indexOf("label: do {") < 0) {
13+ // // See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8177691
14+ // if (result === "OK") return "Looks like JDK-8177691 fixed for " + f;
15+ // if (result !== void 0) return "Result of function changed: " + f;
16+ // }
17+ if ( result !== "OK" ) {
1618 return "fail on " + f
1719 }
1820 }
Original file line number Diff line number Diff line change @@ -7,12 +7,14 @@ function box() {
77 var f = functions [ i ] ;
88 var result = f ( ) ;
99
10- if ( f . toString ( ) . indexOf ( "label: do {" ) < 0 ) {
11- // See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8177691
12- if ( result === "OK" ) return "Looks like JDK-8177691 fixed for " + f ;
13- if ( result !== void 0 ) return "Result of function changed: " + f ;
14- }
15- else if ( result !== "OK" ) {
10+ // Disabled check to run js optimizer tests using V8.
11+ // Created the issue KT-39337 to address it separately.
12+ // if (f.toString().indexOf("label: do {") < 0) {
13+ // // See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8177691
14+ // if (result === "OK") return "Looks like JDK-8177691 fixed for " + f;
15+ // if (result !== void 0) return "Result of function changed: " + f;
16+ // }
17+ if ( result !== "OK" ) {
1618 return "fail on " + f
1719 }
1820 }
You can’t perform that action at this time.
0 commit comments