Open klabarge opened 4 years ago
@klabarge thanks for reporting this. It's a know issue caused by a workaround that we created in https://github.com/qzind/tray/pull/516. We were unable to get a reliable vector print size unless we explicitly call an internal, private function doUpdatePeer
. There's no way to suppress this message without either exposing this function publicly (would require Gluon to patch in this functionality) or work from an upstream bug report of the same nature.
This https://github.com/qzind/tray/issues/513#issuecomment-554002309 explains it best actually, quoting:
I think I found a technique that works...
JavaFX 11 just renamed
impl_updatePeer
todoUpdatePeer
and made it private.Using reflection, I should be able to detect and call whichever is available.
Edit... done via c2c380e.
Edit: Quoting:
This issue has been reported upstream:
https://support.gluonhq.com/browse/SUPQZ-1 (license required) https://bugs.openjdk.java.net/browse/JDK-8235831 (public)
FYI, bumped the upstream (private) bug report to see where this is at.
Heads up, this has risen in priority since #778 and newer JavaFX versions (e.g. 17-ea+9) also suffer from a regression which renders c2c380e useless. We should have an update on this soon.
Heads up, this has risen in priority since #778 and newer JavaFX versions (e.g. 17-ea+9) also suffer from a regression which renders c2c380e useless. We should have an update on this soon.
Upstream has reverted the code which introduced the regression observed in #778. Relevant conversation here: https://github.com/openjdk/jfx/pull/603#discussion_r689845070.
This doesn't fix the reflective access problems that this bug report describes, but at least brings baseline back to something without random wait times. I'm not sure when the upstream patches will land, but I'll provide an update once they do.
When using HTML printing on Windows, the logs warn about an
illegal reflective access operation
. This happens when Monocle is on and off.OS: Windows 10 1909 Java: AOJDK 11.0.7 QZ Tray: 2.1.1+1
Full stack trace