Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest Version of testng 7.7.1 is compatible with java11.Doesnot supports Java8. Release a version of testng which is compatible with java8 and has no vulnerabilities like testng 7.7.1 #2901

Closed
2 of 7 tasks
immi543 opened this issue Apr 25, 2023 · 2 comments

Comments

@immi543
Copy link

immi543 commented Apr 25, 2023

TestNG Version

Note: only the latest version is supported

Latest version of testng 7.7.1 doesnot supports Java8. Earlier version which supports java8 have vulnerabilities.

Expected behavior

Please release a version of testng which is compatible with Java8 as well.

Is the issue reproducible on runner?

  • Shell
  • Maven
  • Gradle
  • Ant
  • Eclipse
  • IntelliJ
  • NetBeans

Test case sample

Please, share the test case (as small as possible) which shows the issue

Code doesnot compile with latest testng jar if user is on java8. Earlier version of testng which supports java8 are blocked by jfrog because they have vulnerabilities.

Contribution guidelines

Incase you plan to raise a pull request to fix this issue, please make sure you refer our Contributing section for detailed set of steps.

@immi543 immi543 changed the title Latest Version of testng 7.7.1 is compatible with java11.Doesnot supports Java8 Latest Version of testng 7.7.1 is compatible with java11.Doesnot supports Java8. Release a version of testng which is compatible with java8 and has no vulnerabilities like testng 7.7.1 Apr 25, 2023
@krmahadevan
Copy link
Member

@immi543 - We strongly urge you to upgrade to JDK11. Its not going to be possible to keep patching earlier released version of TestNG with security vulnerability fixes. Today there is one, there's going to be more tomorrow and its not going to be possible for us to keep doing this.

On the other side, unless and until you are using the -testjar option of TestNG wherein you are building a fat jar of your tests and then passing that jar as parameter to TestNG for execution, you are NOT exposed to any security vulnerability.

If you are still looking for 7.5 support with JDK8, then I would suggest that you follow this PR #2899

@krmahadevan
Copy link
Member

Duplicate of #2895

@krmahadevan krmahadevan marked this as a duplicate of #2895 Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants