RFR: 8181571: printing to CUPS fails on mac sandbox app [v5]

Alexander Scherbatiy alexsch at openjdk.java.net
Fri Mar 25 14:40:48 UTC 2022


On Tue, 24 Aug 2021 16:06:40 GMT, Alexander Scherbatiy <alexsch at openjdk.org> wrote:

>> src/java.desktop/unix/classes/sun/print/CUPSPrinter.java line 489:
>> 
>>> 487:         return domainSocketPathname;
>>> 488:     }
>>> 489: 
>> 
>> You will need to suppress deprecation warnings here.
>
> Should I add `@SuppressWarnings("deprecation")` to the getDomainSocketPathname() method?

@SuppressWarnings("removal") is added for the isSandboxedApp() method.

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

PR: https://git.openjdk.java.net/jdk/pull/4861



More information about the client-libs-dev mailing list