hg: macosx-port/macosx-port/jdk: Cleaning up JNF usage, finishing AWTWindow conversion to properties, blocks, and JNF usage.
Mike Swingler
swingler at apple.com
Thu Apr 7 07:49:06 PDT 2011
What OS and Xcode version are you compiling this on?
~Mike
On Apr 7, 2011, at 7:21 AM, Henri Gomez wrote:
> Same here :
>
> 82 /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Headers/JRSUIControl.h
>
> MD5 (/System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Headers/JRSUIControl.h)
> = 861190620ca9e8b59fa0699e00c0ed62
>
> I'm not a ObjC expert but I could see what seems to be valid contents :
>
> ---
>
> //
> // JRSUIConstants.h
> // Copyright 2011 Apple Inc. All rights reserved.
> //
> #import <Cocoa/Cocoa.h>
>
>
> typedef CFTypeRef JRSUIRendererRef;
>
> /* -----------------------------------------------------------------------------
>
> JRSUIRendererCreate
>
> Summary: Creates an instance of a UI renderer.
>
> Returns:
> - a reference to a UI renderer which is used to render and measure
> controls. It is the responsibility of the caller to release the
> renderer when it is no longer needed. The renderer must be desposed
> with JRSUIRendererRelease(). The renderer is a CFType, so it may be
> put into collections, CFRe
> tain()'d and CFRelease()'d.
>
> -----------------------------------------------------------------------------
> */
> JRSUIRendererRef JRSUIRendererCreate();
>
> /* -----------------------------------------------------------------------------
>
> JRSUIRendererRelease
>
> Summary: Disposes of an instance of a UI renderer.
>
> Parameters:
> - renderer: A renderer to dispose of.
>
> -----------------------------------------------------------------------------
> */
> void JRSUIRendererRelease(JRSUIRendererRef renderer);
>
>
> typedef CFTypeRef JRSUIControlRef;
>
> /* -----------------------------------------------------------------------------
>
> JRSUIControlCreate
>
> Summary: Creates an instance of a UI control.
>
> Parameters:
> - isFlipped: determines if the UI control should be rendered and
> measured using a flipped coordinate system.
>
> Returns:
> - a reference to a UI control which contains all of the properties of
> a specific UI component. It is the responsibility of the caller to
> release the control when it is no longer needed. The control must be
> desposed with JRSUIControlRelease(). The control is a CFType, so it
> may be put into col
> lections, CFRetain()'d and CFRelease()'d.
>
> -----------------------------------------------------------------------------
> */
> JRSUIControlRef JRSUIControlCreate(Boolean isFlipped);
>
> /* -----------------------------------------------------------------------------
>
> JRSUIControlRelease
>
> Summary: Disposes of an instance of a UI control.
>
> Parameters:
> - control: A control to dispose of.
>
> -----------------------------------------------------------------------------
> */
> void JRSUIControlRelease(JRSUIControlRef control);
>
>
> ....
>
>
> 2011/4/7 Mike Swingler <swingler at apple.com>:
>> This looks like you don't have the JRSUI* headers which were a last-minuite addition to "Java for Mac OS X 10.6 Update 4". All of the errors indicate that JRSUIControlRef or any of the JRSUI* functions are not defined.
>>
>> If you check for the header, what do you see?
>> % wc -l /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Headers/JRSUIControl.h
>>
>> I get:
>> 82 /System/Library/Frameworks/JavaVM.framework/Frameworks/JavaRuntimeSupport.framework/Headers/JRSUIControl.h
More information about the macosx-port-dev
mailing list