adoptium / adoptium/STF

Reimplement logic to find Java version in JavaVersion.java

Open
#114 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
10
Forks
42
Avg merge
3d 8h
Merged PRs (30d)
1

Description

We should remove the version check altogether and update the logic of figuring out various Java versions in [JavaVersion.java](https://github.com/adoptium/STF/blob/master/stf.core/src/stf.core/net/adoptopenjdk/stf/environment/JavaVersion.java) to depend on Java system properties instead of parsing java -version output.

Contributor guide

Open the contributing guide

Research direction

Start with stf.core/src/stf.core/net/adoptopenjdk/stf/environment/JavaVersion.java and trace the current version check and java -version parsing. Identify the Java system properties that should provide the supported version information. Done means the version check is removed and Java version detection uses system properties instead of parsing command output.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.