-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
[JENKINS-67000] Restore setting of null security manager #507
[JENKINS-67000] Restore setting of null security manager #507
Conversation
55922bb
to
5a8a2c3
Compare
As a temporary hotfix, OK. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tbh once we drop Java 8 we can just revert this I think
Only if we remove JWS support as well. You can run IcedTea on Java 11. |
Will leave it to someone who knows how to use the release bot to merge & release this. (Ironically, I think we could use regular JEP-229 for this component if it were not for the signature, which is only used by…JavaWebStart.) |
I doubt people are going to the hassle of setting that up just for this |
FTR we don't support it on Java 11 even with iced tea: https://github.com/jenkinsci/jenkins/blob/e27b310065b3c036b5fc9d123f1d1d99d3058c00/core/src/main/java/hudson/slaves/JNLPLauncher.java#L262-L265 |
@jeffret-b when you have reviewed this and decide to merge it, let me know and I can assist with the release machinery. |
jenkinsci/jenkins#3766 indeed, which seems incorrect, not least because it is checking the version of Java running on the controller which is irrelevant in this context. 🤷 if we do not care to support IcedTea/OpenWebStart users on Java 11+, fine with me but ought to be a conscious decision mentioned in @MarkEWaite’s jenkinsci/jep#382. At the same time we should consider removing the JAR signature here, which (AFAIK) serves no function in non-JWS usages of |
We really should remove the Launch button and all support for WebStart. They cause more confusion and bad behavior than they help. I've tried a couple of times in the past, but encountered some opposition based on unknown usage of the feature. The low level of interest in this regression indicates that this would be an overall gain and would negatively impact few people. We definitely should not carry WS forward into Java 11, even though it's possible. There's also no reason why we need to wait for Java 8 support termination before we take this step. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this was an accidental regression, it's fine to restore this operation.
Ultimately, we really should remove it.
Let's give this one the 24 hour waiting period for any additional comments or concerns. |
@MarkEWaite , can you perform a release when you have a chance? |
Release build 4.12 is complete and available on artifactory. |
@jeffret-b could you publish the changelog from GitHub releases? |
https://issues.jenkins.io/browse/JENKINS-67000
Reverts #481 pending a more nuanced fix.