mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-09 14:38:42 +00:00
8021294: --verify-code option results in AnalyzerException
Reviewed-by: hannesw, jlaskey
This commit is contained in:
parent
67126cb8fb
commit
97f5b61172
@ -662,7 +662,7 @@ public final class Context {
|
||||
// No verification when security manager is around as verifier
|
||||
// may load further classes - which should be avoided.
|
||||
if (System.getSecurityManager() == null) {
|
||||
CheckClassAdapter.verify(new ClassReader(bytecode), scriptLoader, false, new PrintWriter(System.err, true));
|
||||
CheckClassAdapter.verify(new ClassReader(bytecode), sharedLoader, false, new PrintWriter(System.err, true));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user