-
Bug
-
Resolution: Fixed
-
P4
-
20, 21, 22, 23, 24
-
b07
-
aarch64
-
os_x
ADDITIONAL SYSTEM INFORMATION :
macOS / Java 20
A DESCRIPTION OF THE PROBLEM :
File objects are not serialized via setData to the clipboard in macOS and as such are recognized as text and thus cannot be pasted to Finder. Writing Files using 'writeObjects' solves this issue as done in JetBrainsRuntime:
https://github.com/JetBrains/JetBrainsRuntime/commit/24819d974b4a7ab96d998a9a494786a291d89874
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Run the compiled class using current JRE (java Arik)
2. Switch to Finder and check the content of the clipboard (Edit -> Show Clipboard)
EXPECTED:
3. Verify you see "Cliboard contents: file URL / items"
ACTUAL:
3. Verify you see "Cliboard contents: unknown"
FREQUENCY : always
macOS / Java 20
A DESCRIPTION OF THE PROBLEM :
File objects are not serialized via setData to the clipboard in macOS and as such are recognized as text and thus cannot be pasted to Finder. Writing Files using 'writeObjects' solves this issue as done in JetBrainsRuntime:
https://github.com/JetBrains/JetBrainsRuntime/commit/24819d974b4a7ab96d998a9a494786a291d89874
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Run the compiled class using current JRE (java Arik)
2. Switch to Finder and check the content of the clipboard (Edit -> Show Clipboard)
EXPECTED:
3. Verify you see "Cliboard contents: file URL / items"
ACTUAL:
3. Verify you see "Cliboard contents: unknown"
FREQUENCY : always
- links to
-
Commit(master) openjdk/jdk/bc7cd42d
-
Review openjdk/jdk/15980
-
Review(master) openjdk/jdk/20144