8280823: Remove NULL check in DumpTimeClassInfo::is_excluded

Reviewed-by: minqi, ccheung
This commit is contained in:
Ioi Lam 2022-01-28 01:55:16 +00:00
parent 094db1a3ee
commit a1d1e4753b

View File

@ -1,6 +1,6 @@
/*
* Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2021, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -135,8 +135,7 @@ public:
}
bool is_excluded() {
// _klass may become NULL due to DynamicArchiveBuilder::set_to_null
return _excluded || _failed_verification || _klass == NULL;
return _excluded || _failed_verification;
}
// Was this class loaded while JvmtiExport::is_early_phase()==true