-
Notifications
You must be signed in to change notification settings - Fork 9k
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
HADOOP-19526. Skip tests in Hadoop common that depend on SecurityManager if the JVM does not support it #7567
base: trunk
Are you sure you want to change the base?
Conversation
…ger if the JVM does not support it
🎊 +1 overall
This message was automatically generated. |
@@ -66,7 +67,11 @@ private static Configuration getConf() { | |||
public void setup() { | |||
|
|||
securityManager = System.getSecurityManager(); |
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.
System.getSecurityManager()
will also be one Deprecate APIs based on JEP-411, Would you mind to process it together. Thanks.
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.
Thank you, I've moved it inside the try block, @Hexiaoqiao .
🎊 +1 overall
This message was automatically generated. |
Description of PR
Skip tests in Hadoop common that depend on SecurityManager if the JVM does not support it
Required for recent Java versions.
How was this patch tested?
On my JDK24 branch, plus CI for JDK8
For code changes:
LICENSE
,LICENSE-binary
,NOTICE-binary
files?