Commit 36d8839
committed
Avoid startup warning on non-Linux platforms
The --add-opens flag for sun.awt.X11 only works on Linux;
otherwise, a warning is issued:
WARNING: package sun.awt.X11 not in java.desktop
Similarly, com.apple.eawt reflection should be tolerated on macOS,
but not requested on non-macOS platforms.1 parent 3404aaa commit 36d8839
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1365 | 1365 | | |
1366 | 1366 | | |
1367 | 1367 | | |
1368 | | - | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
1369 | 1373 | | |
1370 | 1374 | | |
1371 | 1375 | | |
| |||
0 commit comments