<AWT Dev> [9] Review Request: 8076264 [macosx] Launching app on MacOSX requires enclosing class
Martin Buchholz
martinrb at google.com
Fri Apr 10 17:08:11 UTC 2015
On Fri, Apr 10, 2015 at 9:36 AM, Sergey Bylokhov <Sergey.Bylokhov at oracle.com
> wrote:
> On 10.04.15 19:20, Martin Buchholz wrote:
>
> I don't get it. Either providing this information (what "java program"
> is running - main class and/or command line) is generally useful or it is
> not. There's nothing macosx-specific about it. Either provide a clean
> blessed api (i.e. not an environment variable) and have AWT etc use it on
> every platform or do not provide it at all.
>
> API for what? This is internal implementation of argument passing from
> launcher to some known UI library, inside one particular jdk
> implementation. It would be good if some public api will be added for
> this(as requested in [1]) in jdk9, but it is not required for this
> functionality.
>
I think we're actually mostly in agreement. I don't object to your point
fix going in, but I hope that higher level improvements, probably including
removing the JAVA_MAIN_CLASS* environment variable, will be made elsewhere.
More information about the core-libs-dev
mailing list