Skip to content
Permalink
Browse files
8280823: Remove NULL check in DumpTimeClassInfo::is_excluded
Reviewed-by: minqi, ccheung
  • Loading branch information
iklam committed Jan 28, 2022
1 parent 094db1a commit a1d1e4753b87dfc6ce179c389480dcf2c5a0dc2e
Showing 1 changed file with 2 additions and 3 deletions.
@@ -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 @@ class DumpTimeClassInfo: public CHeapObj<mtClass> {
}

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

1 comment on commit a1d1e47

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on a1d1e47 Jan 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.