xawt??
David DeHaven
david.dehaven at oracle.com
Thu May 16 10:29:23 PDT 2013
>> Artem,
>>
>> Is http://bugs.sun.com/view_bug.do?bug_id=8001338
>> [macosx] -Dawt.toolkit=sun.awt.X11.XToolkit option does not work
>>
>> considered to be the right bug to track this, since the last comment is
>>
>> "I think that we should not support XToolkit on Mac OS X." ?
>
> No, it's a separate issue. As written in the bug comments, XToolkit works on OS X in general, it just doesn't start if only awt.toolkit is specified. If, in addition to awt.toolkit, you also specify the right java.awt.graphicsenv, it will launch.
>
> The comment is correct, but it doesn't say anything about what JDK version XToolkit should not be supported in :) As I wrote in the previous email, my vote is JDK8.
Ok, I'll skip disabling xawt on Mac for 7u (it's a lot of work mangling the old build system anyways :).
I guess if xawt is being built (and can actually be *used*) then maybe I should leave the X11 bits inside the header, but make them opt-in (via macros) with a note that the X11 interface is deprecated on Mac so as to not require developers to have the X11 headers just to use the CALayer DrawingSurface stuff. For JDK8 the X11 bits will be removed when xawt is properly disabled. This should require only minor changes to the build system...
-DrD-
More information about the macosx-port-dev
mailing list