Skip to content

Commit

Permalink
Merge pull request apache#7926 from sid-srini/fix_macos_tests_failure…
Browse files Browse the repository at this point in the history
…s_javahints

Fix MacOS tests failures in java.hints
  • Loading branch information
lahodaj authored Oct 30, 2024
2 parents 635860e + daf79f9 commit 45696ba
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
5:8-5:14:error:compiler message file broken:key=compiler.err.cant.resolve.location.args arguments=method, create, , , class, javahints.TestShortErrors5, {6}, {7}
5:8-5:14:error:cannot find symbol
symbol:method create()
location:class TestShortErrors5

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
2:13-2:40:warning:serializable class javahints.TestShortErrorsSVUIDWarning has no definition of serialVersionUID
2:13-2:40:warning:[serial] serializable class TestShortErrorsSVUIDWarning has no definition of serialVersionUID
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public void testShortErrors4() throws Exception {
}

public void testShortErrors5() throws Exception {
performTest("TestShortErrors5", true);
performTest("TestShortErrors5", false);
}

public void testShortErrors6() throws Exception {
Expand Down Expand Up @@ -228,7 +228,7 @@ public void testTestShortErrorsSVUIDWarning() throws Exception {
TestCompilerSettings.commandLine = "-Xlint:serial";

try {
performTest("TestShortErrorsSVUIDWarning", true);
performTest("TestShortErrorsSVUIDWarning", false);
} finally {
TestCompilerSettings.commandLine = null;
}
Expand Down

0 comments on commit 45696ba

Please sign in to comment.