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

Official JAVA 17 (LTS) support #1338

Closed
HoneyBadgerSeeker opened this issue Oct 8, 2021 · 6 comments
Closed

Official JAVA 17 (LTS) support #1338

HoneyBadgerSeeker opened this issue Oct 8, 2021 · 6 comments

Comments

@HoneyBadgerSeeker
Copy link

HoneyBadgerSeeker commented Oct 8, 2021

Is your feature request related to a problem? Please describe.
No, not for now, it seems working fine with Java 17.

Describe the solution you'd like
The new LTS version of Java is available (Java 17).
FitNesse should be officially compatible with it.

The FitNesse download page, state that

Ensure you have a supported Java version installed (either version 8 or 11, versions >= 15 are not supported).

@HoneyBadgerSeeker HoneyBadgerSeeker changed the title Official JAVA 17 support Official JAVA 17 (LTS) support Oct 8, 2021
@enexusde
Copy link

Using RestFixtures a

Could not complete testing: java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release

Exception is thrown.

@fhoeben
Copy link
Collaborator

fhoeben commented May 11, 2022

@enexusde is the exception thrown from RestFixture code (if so you should probably file the issue at https://github.com/smartrics/RestFixture), or from FitNesse itself?

If the error comes from FitNesse, can you provide a stack trace where the exception is thrown and preferably a reproduction path using the only code present in this project?

@tcnh
Copy link
Contributor

tcnh commented May 13, 2022

I've seen that same exception, but only with a Java 18 JRE. That's where it was removed from the runtime.

@enexusde
Copy link

@fhoeben From FitNesse

@lehtmets
Copy link

lehtmets commented Apr 4, 2023

I saw this waring with Java 17 (17.0.6 temurin)
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by fitnesse.slim.instructions.SystemExitSecurityManager (file:/Users/ml/.gradle/caches/modules-2/files-2.1/org.fitnesse/fitnesse/20221102/b5ce9b528912742591c26c6893e8e091aeed543a/fitnesse-20221102.jar)
WARNING: Please consider reporting this to the maintainers of fitnesse.slim.instructions.SystemExitSecurityManager
WARNING: System::setSecurityManager will be removed in a future release

@unexist
Copy link

unexist commented Jul 31, 2024

I stumbled upon this due to the exact error messages. This is fixed in the recent version, as can be seen in the Changelog:

https://github.com/unclebob/fitnesse/releases/tag/20240707

And the matching PR:

#1513

@fhoeben fhoeben closed this as completed Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants