hg: macosx-port/macosx-port/jdk: Fix for MACOSX_PORT-765: Unable to run an GUI app remotely.

Alexander Zuev alexander.zuev at oracle.com
Mon Dec 5 05:51:07 PST 2011


Scott,

   thanks for early catching the trouble - yes, i got access to the Lion 
machine and seems that Apple
removed this declaration from their header file so i'm about to redesign 
the fix and will push it in
like half-an-hour.

With best regards,
Alexander Zuev.

On 12/5/11 9:56, Scott Kovatch wrote:
> This checkin is missing something (awt.h change?). The build is currently broken.
>
> /Users/skovatch/src/macosx-port/jdk/src/macosx/native/sun/awt/awt.m: In function '+[AWTStarter isRemoteSession]':
> /Users/skovatch/src/macosx-port/jdk/src/macosx/native/sun/awt/awt.m:223: error: 'sessionWasInitialized' undeclared (first use in this function)
> /Users/skovatch/src/macosx-port/jdk/src/macosx/native/sun/awt/awt.m:223: error: (Each undeclared identifier is reported only once
> /Users/skovatch/src/macosx-port/jdk/src/macosx/native/sun/awt/awt.m:223: error: for each function it appears in.)
> /Users/skovatch/src/macosx-port/jdk/src/macosx/native/sun/awt/awt.m: In function '+[AWTStarter markAppAsDaemon]':
> /Users/skovatch/src/macosx-port/jdk/src/macosx/native/sun/awt/awt.m:232: warning: cast from pointer to integer of different size
>
> -- Scott K.
>
> On Dec 4, 2011, at 12:13 AM, alexander.zuev at oracle.com wrote:
>
>> Changeset: c50bdc544e22
>> Author:    kizune
>> Date:      2011-12-04 12:13 +0300
>> URL:       http://hg.openjdk.java.net/macosx-port/macosx-port/jdk/rev/c50bdc544e22
>>
>> Fix for MACOSX_PORT-765: Unable to run an GUI app remotely.
>> Do not issue error on awt.dylib loading if we detect that process is initiated by remote or daemon process.
>>
>> ! src/macosx/native/sun/awt/awt.m
>>



More information about the macosx-port-dev mailing list