RFR: 8260616: Removing remaining JNF dependencies in the java.desktop module

2021-01-28 Thread Phil Race
This completes the desktop module JNF removal * remove -framework JavaNativeFoundation from make files * remove #import from all source files. If needed add import of JNIUtilities.h to get jni.h definitions - better anyway since then it gets the current JDK ones not the ones from the O/S *

Re: RFR: 8257988: Remove JNF dependency from libsaproc/MacosxDebuggerLocal.m

2021-01-28 Thread Chris Plummer
On Fri, 29 Jan 2021 00:15:56 GMT, Chris Plummer wrote: >> This removes the JNF dependency from the jdk.hotspot.agent module. >> The macro expansions are the same as already used in the Java desktop module >> - which actually uses a macro >> still but there there are hundreds of uses. >> The

Re: RFR: 8257988: Remove JNF dependency from libsaproc/MacosxDebuggerLocal.m

2021-01-28 Thread Chris Plummer
On Thu, 28 Jan 2021 22:40:57 GMT, Phil Race wrote: > This removes the JNF dependency from the jdk.hotspot.agent module. > The macro expansions are the same as already used in the Java desktop module > - which actually uses a macro > still but there there are hundreds of uses. > The function of

RFR: 8257988: Remove JNF dependency from libsaproc/MacosxDebuggerLocal.m

2021-01-28 Thread Phil Race
This removes the JNF dependency from the jdk.hotspot.agent module. The macro expansions are the same as already used in the Java desktop module - which actually uses a macro still but there there are hundreds of uses. The function of this macro code is to prevent NSExceptions escaping to Java and

Re: RFR: JDK-8260518: Change default -mmacosx-version-min to 10.12 [v2]

2021-01-28 Thread Sergey Bylokhov
On Thu, 28 Jan 2021 16:08:53 GMT, Erik Joelsson wrote: >> To guarantee backwards compatible binaries on Macos, we use the option >> -mmacosx-version-min. This is currently set to 10.9, which is a really >> ancient version. I propose we bump this to 10.12, which is still a rather >>

Re: RFR: JDK-8260518: Change default -mmacosx-version-min to 10.12 [v2]

2021-01-28 Thread Erik Joelsson
> To guarantee backwards compatible binaries on Macos, we use the option > -mmacosx-version-min. This is currently set to 10.9, which is a really > ancient version. I propose we bump this to 10.12, which is still a rather > conservative old version (support ended in 2019). > > The driving

Re: RFR: JDK-8260518: Change default -mmacosx-version-min to 10.12

2021-01-28 Thread erik . joelsson
On 2021-01-27 19:57, Sergey Bylokhov wrote: On Wed, 27 Jan 2021 20:43:44 GMT, Phil Race wrote: To guarantee backwards compatible binaries on Macos, we use the option -mmacosx-version-min. This is currently set to 10.9, which is a really ancient version. I propose we bump this to 10.12,

Re: RFR: JDK-8260518: Change default -mmacosx-version-min to 10.12

2021-01-28 Thread Magnus Ihse Bursie
On Wed, 27 Jan 2021 19:23:48 GMT, Erik Joelsson wrote: > To guarantee backwards compatible binaries on Macos, we use the option > -mmacosx-version-min. This is currently set to 10.9, which is a really > ancient version. I propose we bump this to 10.12, which is still a rather > conservative