MarketSquare / MarketSquare/remoteswinglibrary

Not possible to run tests with Java 8 after running newer Java

Open
#122 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
32
Forks
41
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read RemoteSwingLibrary.py, focusing on JAVA9_OR_NEWER and the reinitiate path; compare it with initiate and review the open pull request mentioned in the issue. Done means Java 8-based tests can run after a newer-Java run and reinitiate, without breaking newer-Java behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.