8198346: assert(!_cld->claimed()) failed in TestObjectDescription.java

Reviewed-by: egahlin
This commit is contained in:
Markus Grönlund 2018-07-04 18:39:26 +02:00
parent 5cbda815d0
commit 7129c3e786

View File

@ -74,7 +74,6 @@ CLDClaimContext::CLDClaimContext(ClassLoaderData* cld) : _cld(cld) {
CLDClaimContext::~CLDClaimContext() {
if (_cld != NULL) {
assert(!_cld->claimed(), "invariant");
_cld->claim();
assert(_cld->claimed(), "invariant");
}