Linking to JavaRuntimeSupport framework
David Smith-Uchida
dave at igeekinc.com
Thu Jul 21 08:45:22 PDT 2011
Oh, and the only reason that patch works for me is because my app is Rococoa based. The AWT native code has a large number of dependencies on JavaRuntimeSupport. So, unless JavaRuntimeSupport initalization is patched to not generate the install a JVM message, the path to java_props_md.c won't do anything.
Cheers,
Dave Smith
On Jul 21, 2011, at 10:43 PM, David Smith-Uchida wrote:
> I haven't tried building and running it yet, but the problem was triggered by the call to JRSCopyOSVersion in
> jdk/src/solaris/native/java/lang/java_props_md.c
>
> Looking at the new code, it's now linking JavaRuntimeSupport dynamically to call it. Do you have that update?
>
> I'm not sure if that's going to fix it because when I traced down into the code with gdb it was JRSCopyOSVersion calling into some java init that triggered the check for the runtimes, not the static links.
More information about the macosx-port-dev
mailing list