<AWT Dev> [14] Review Request: 8231438 [macos] The dark mode is not supported yet
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Thu Oct 10 17:36:49 UTC 2019
On 10/10/19 10:16 am, Alan Snyder wrote:
> 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.
I did not check, but as far as I understand it will start to work if we "reimplement"
the JDK layout to be like an app layout on top of the "java" command-line app,
something like jdk.app which will have own plist.info and java as a default launcher.
> In other words, a command-line only solution is worthy of consideration (someday).
Right, and as usual any contributions are welcome.
--
Best regards, Sergey.
More information about the awt-dev
mailing list