8321622: ClassFile.verify(byte[] bytes) throws unexpected ConstantPoolException, IAE
Reviewed-by: jpai
This commit is contained in:
parent
ab8d7b0ced
commit
ee4a9d3482
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -285,7 +285,6 @@ public final class VerifierImpl {
|
|||||||
} catch (VerifyError err) {
|
} catch (VerifyError err) {
|
||||||
errorsCollector.add(err);
|
errorsCollector.add(err);
|
||||||
} catch (Error | Exception e) {
|
} catch (Error | Exception e) {
|
||||||
e.printStackTrace();
|
|
||||||
errorsCollector.add(new VerifyError(e.toString()));
|
errorsCollector.add(new VerifyError(e.toString()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user