adoptium / adoptium/STF

JavaVersion.isIBMJvm() incorrect or need isOpenJ9Jvm()

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

Description

JdiTest suite assume if isIBMJvm() is true it can use jdwp trace=.. options, but they are not supported for OpenJ9:
```
ASI2 stderr ERROR: JDWP option syntax error: -agentlib:jdwp=transport=dt_socket,address=30001,server=y,timeout=300000,trace=PROG+CMD+PACK+DATA
```
Either IBMJvm() means IBMSDK only, or JdiTest needs a JavaVersion.isOpenJ9Jvm() method?

Contributor guide

Open the contributing guide

Research direction

Start by inspecting JavaVersion.isIBMJvm() and the JdiTest suite mentioned in the issue, then reproduce the JDWP trace-option error on OpenJ9. Determine the intended distinction between IBM SDK and OpenJ9, and consider the work complete when JdiTest no longer applies unsupported options while the JVM detection behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.