Commit b310858
authored
Try direct path for MessageDigest before invasive path (#194)
This logic is responsible for the remaining known "illegal access"
warning on Java 9+. I am not sure why we do not trust the default
provide to give us most algorithms, since it should be identical
to the one provied by Bouncy Castle. This change reverses the
logic and only uses the invasive provider-specific form when the
direct lookup fails.
Relates to jruby/jruby#6098.1 parent c208a87 commit b310858
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
358 | 361 | | |
359 | 362 | | |
| 363 | + | |
| 364 | + | |
360 | 365 | | |
361 | | - | |
362 | | - | |
363 | 366 | | |
364 | 367 | | |
365 | 368 | | |
| |||
0 commit comments