File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/jruby/ext/openssl/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,14 +124,14 @@ static Boolean unrestrictJceSecurity8() {
124
124
125
125
Field isRestricted = JceSecurity .getDeclaredField ("isRestricted" );
126
126
127
- if ( Modifier .isFinal (isRestricted .getModifiers ()) ) {
127
+ if (Modifier .isFinal (isRestricted .getModifiers ())) {
128
128
Field modifiers = Field .class .getDeclaredField ("modifiers" );
129
129
modifiers .setAccessible (true );
130
130
modifiers .setInt (isRestricted , isRestricted .getModifiers () & ~Modifier .FINAL );
131
131
}
132
132
133
133
isRestricted .setAccessible (true );
134
- if (isRestricted .getBoolean (null ) == false ) {
134
+ if (isRestricted .getBoolean (null ) == true ) {
135
135
isRestricted .setBoolean (null , false ); // isRestricted = false;
136
136
return true ;
137
137
}
You can’t perform that action at this time.
0 commit comments