You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Java 17, the tests that are using easymock are broken. They can be fixed using a new version of easymock.
This error is seen:
[ERROR] test_lock(com.github.sarxos.webcam.WebcamLockTest) Time elapsed: 0.045 s <<< ERROR!
java.lang.ExceptionInInitializerError
at com.github.sarxos.webcam.WebcamLockTest.before(WebcamLockTest.java:25)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @26408470
at com.github.sarxos.webcam.WebcamLockTest.before(WebcamLockTest.java:25)
The text was updated successfully, but these errors were encountered:
johanvos
added a commit
to johanvos/webcam-capture
that referenced
this issue
Dec 2, 2022
Using Java 17, the tests that are using easymock are broken. They can be fixed using a new version of easymock.
This error is seen:
The text was updated successfully, but these errors were encountered: