Closed mgladdish closed 4 years ago
Thanks for the great research! Fixed. Will be included in next release.
Released in v1.1.0-RC2 available now on Maven Central
Fab, thanks.
Any chance of a backport to either 0.14.9
or a version that's compatible with it?
I tried upgrading to the latest version but it's incompatible with the other old libs I'm stuck with.
I have a scala project which depends on jBrowserDriver 0.14.9. I've happily been working and building my project on java 1.8.0_152 (macOS).
Now I've started working on a fresh Fedora 30 build I have java-1.8.0-openjdk and java-1.8.0-openjdk-openjfx installed, along with their -devel counterparts. The bad news is that this installs java 1.8.0_221.
It seems this JDK bug: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8189926 brought in this change: https://github.com/javafxports/openjdk-jfx/commit/828f80887a8d37a878808d317e7c66d9713b5ec8#diff-a7f54b20f741c7d485d445ec85aafc9c which was included in this version https://www.oracle.com/technetwork/java/javase/2col/8u212-bugfixes-5292916.html
Unfortunately jBrowserDriver's https://github.com/MachinePublishers/jBrowserDriver/blob/master/src/com/machinepublishers/glass/ui/monocle/MonocleTimer.java doesn't implement the two new methods,
_pause(long timer)
and_resume(long timer)
.For completeness, here's the stack trace from my test:
The net result is I can't run my selenium tests on JDK version >= 8_212.