remoteswinglibrary
remoteswinglibrary copied to clipboard
Not possible to run tests with Java 8 after running newer Java
Once the JAVA9_OR_NEWER goes True in RemoteSwingLibrary.py, it is not possible for the library to run Java 8 based tests anymore, even if reinitiate is called. The code is missing a condition where JAVA9_OR_NEWER would turn back to False. Could be fixed by setting JAVA9_OR_NEWER to False in reinitiate.
I have an open pull request (Apr'23) where the similar change is done in initiate, but perhaps that is not a good idea. I'm planning to close that one.