[OpenJDK 2D-Dev] RFR: 8259232: Bad JNI lookup during printing
Sergey Bylokhov
serb at openjdk.java.net
Wed Jan 6 19:39:02 UTC 2021
On Wed, 6 Jan 2021 01:17:02 GMT, Phil Race <prr at openjdk.org> wrote:
> Didn't hit this because all the print testing I conducted used the swing print + page dialog but the logging made it easy to find the source of the problem.
> I've also done an audit of GET_METHOD_* usages for this pattern - I had previously done it for DECLARE_METHOD* which is the bulk.
src/java.desktop/macosx/native/libawt_lwawt/awt/CPrinterJob.m line 59:
> 57: GET_METHOD_RETURN(sjm_getNSPrintInfo, sjc_CPrinterJob, "getNSPrintInfo", "()J", ret);
> 58:
> 59: #define GET_CPRINTERDIALOG_METHOD_RETURN(ret) \
I guess the name of the macro should be renamed as well?
-------------
PR: https://git.openjdk.java.net/jdk/pull/1952
More information about the 2d-dev
mailing list