<AWT Dev> [14] Review Request: 8231438 [macos] The dark mode is not supported yet

Alan Snyder fishgarage at cbfiddle.com
Thu Oct 10 17:14:09 UTC 2019


> On Oct 10, 2019, at 9:53 AM, Sergey Bylokhov <Sergey.Bylokhov at oracle.com> wrote:
> 
> The problem with "NSRequiresAquaSystemAppearance" is that it is ignored for non-bundled
> applications(if java runs from the command line)

AFAIK, it is not ignored.

The root problem is that the Info.plist for an executable is baked into the executable, and because all Java programs run from the command line use the same executable, they get the same Info.plist (as well as the same linked-against SDK version number).

Any other issues that involve Info.plist parameters or the SDK version are also impacted by this problem. I call this problem the launcher problem, because it affects all programs (not just Java programs) that are launched by a common executable.

In other words, a command-line only solution is worthy of consideration (someday).

  Alan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/awt-dev/attachments/20191010/6daa845c/attachment.html>


More information about the awt-dev mailing list