CR-JAL-230
JAL-3659 proper headless check; skips setProperty for JS
Details
Participant | Role | Time Spent | Comments | Latest Comment |
---|---|---|---|---|
Author | 1m | |||
Reviewer - 0% reviewed | ||||
Reviewer - 0% reviewed | ||||
Total | 1m | 0 |
- Linked Issue:
-
Objectives
84be38a183e5c51a5759b7a88362198b2687907c: JAL-3659 proper headless check; skips setProperty for JS
curious why setting the java.awt.headless property would be productive here. This setting is only used in one place in Java core classes, only in GraphicsEnvironment, where it is checked as just one part of a more complex determination of headlessness. That test, GraphicsEnvironment.isHeadless(), is done once and only once.
By NOT setting this flag, we allow a truly "-nodisplay" environment that still allows a lot of functionality, just no display.