Skip to content

Commit

Permalink
Fix swing tests on modular JDKs (mozilla#1039).
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosame authored and gbrail committed Oct 16, 2021
1 parent d9c0e40 commit 73a2a00
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,13 @@ dependencies {
test {
useJUnit()
exclude "**/benchmarks/**"

jvmArgs += '-Xss1280k'

if (JavaVersion.current() > JavaVersion.VERSION_1_8) {
jvmArgs += ['--add-opens', 'java.desktop/javax.swing.table=ALL-UNNAMED']
}

jacoco.excludes = ['**/testsrc_tests_ecma_3_RegExp_perlstress*']

systemProperty 'java.awt.headless', 'true'
Expand Down

0 comments on commit 73a2a00

Please sign in to comment.