Skip to content

Commit 0b35bc2

Browse files
committed
Ignore OpenJDK warnings in partest filters
When running a 2.11.x validation on JDK 8, there are OpenJDK warnings that fail tests. Backports a part of 8d2d3c7 to 2.11.x. The missing filter causes merge commits to fail in PRs that merge 2.11 to 2.12, e.g., scala#4655. In the future we probably want to trigger an integration build for merge commits, but this doesn't happen yet AFAICT.
1 parent 0e9525a commit 0b35bc2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/files/filters

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#
22
#Java HotSpot(TM) 64-Bit Server VM warning: Failed to reserve shared memory (errno = 28).
33
Java HotSpot\(TM\) .* warning:
4+
OpenJDK .* warning:
45
# Hotspot receiving VM options through the $_JAVA_OPTIONS
56
# env variable outputs them on stderr
67
Picked up _JAVA_OPTIONS:

test/scaladoc/filters

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#
22
#Java HotSpot(TM) 64-Bit Server VM warning: Failed to reserve shared memory (errno = 28).
33
Java HotSpot\(TM\) .* warning:
4+
OpenJDK .* warning:
45
# Hotspot receiving VM options through the $_JAVA_OPTIONS
56
# env variable outputs them on stderr
67
Picked up _JAVA_OPTIONS:

0 commit comments

Comments
 (0)