RFR: 8314498: [macos] Transferring File objects to Finder fails

Alexey Ushakov avu at openjdk.org
Thu Jul 11 21:04:51 UTC 2024


On Thu, 11 Jul 2024 20:25:52 GMT, Phil Race <prr at openjdk.org> wrote:

>> Here is an updated version of the fix we have used in Jetbrains Runtime for quite a while. It has been tested by running  jdk_desktop tests and manually using a test case attached to this issue.
>> There is no reg test as I've not found a reliable way to verify file list content inside the system clipboard.
>
> src/java.desktop/macosx/native/libawt_lwawt/awt/CClipboard.m line 184:
> 
>> 182: JNIEXPORT void JNICALL Java_sun_lwawt_macosx_CClipboard_writeFileObjects
>> 183: (JNIEnv *env, jobject inObject, jbyteArray inBytes, jlong inFormat)
>> 184: {
> 
> This native method takes a long, but I don't see that in the Java code ??

Thanks for the catch, it's not needed anymore. I'll update the patch.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/20144#discussion_r1674690099


More information about the client-libs-dev mailing list