Skip to content

Commit 77c4b85

Browse files
committed
remove the optimizer package (no longer jdk 8 complient)
fix one test
1 parent d07b489 commit 77c4b85

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

pom.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>org.htmlunit</groupId>
66
<artifactId>htmlunit-core-js</artifactId>
7-
<version>4.4.0</version>
7+
<version>4.5.0-SNAPSHOT</version>
88
<name>HtmlUnit JavaScript Engine</name>
99
<organization>
1010
<name>HtmlUnit</name>
@@ -128,6 +128,9 @@
128128
<includes>
129129
<include>**/*.java</include>
130130
</includes>
131+
<excludes>
132+
<exclude>javascript/optimizer/**/*.java</exclude>
133+
</excludes>
131134
</resource>
132135
<resource>
133136
<directory>../htmlunit-rhino-fork/rhino-tools/src/main/java/org/mozilla</directory>

src/test/java/org/htmlunit/corejs/StackTraceTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ public void testFailureStackTrace() {
2626
final String source2 = "function f2() { 'H'.toLowerCase(); throw 'hello'; }; f2();";
2727

2828
runWithExpectedStackTrace(source1,
29-
"\tat test.js (f2)" + lineSeparator + "\tat test.js" + lineSeparator); // works
29+
"\tat test.js:0 (f2)" + lineSeparator + "\tat test.js:0" + lineSeparator); // works
3030
runWithExpectedStackTrace(source2,
31-
"\tat test.js (f2)" + lineSeparator + "\tat test.js" + lineSeparator); // fails
31+
"\tat test.js:0 (f2)" + lineSeparator + "\tat test.js:0" + lineSeparator); // fails
3232
}
3333

3434
private static void runWithExpectedStackTrace(final String _source, final String _expectedStackTrace) {

0 commit comments

Comments
 (0)