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 00:25:46 PST 2011
Scott,
that's strange - it builds just fine for me and there no awt.h file
at all (and it is not needed).
The symbol sessionWasInitialized is defined in Security/AuthSession.h
together with the rest of the session
specific constants. On my system it's here:
/System/Library/Frameworks/Security.framework/Versions/A/Headers/AuthSession.h
sessionWasInitialized = 0x8000 /* session has
been set up by its leader */
Which system are you building on? Is it Lion? Can you check please that
this definition still present
in the system header?
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