8198447: Remove ClassLoaderExt::check()

ClassLoaderExt::check() is no longer needed, remove.

Reviewed-by: lfoltan, ccheung
This commit is contained in:
Jiangli Zhou 2018-03-05 14:24:45 -05:00
parent c0bc887c36
commit 54361e56a8
3 changed files with 2 additions and 39 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2018, 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
@ -65,11 +65,6 @@ public:
#endif
}
bool check(const ClassFileStream* stream, const int classpath_index) {
CDS_ONLY(return ClassLoaderExt::check(this, stream, classpath_index);)
NOT_CDS(return true;)
}
bool should_verify(int classpath_index) {
CDS_ONLY(return (classpath_index >= _app_paths_start_index);)
NOT_CDS(return false;)
@ -156,10 +151,6 @@ public:
return _has_app_classes || _has_platform_classes;
}
static bool check(class ClassLoaderExt::Context *context,
const ClassFileStream* stream,
const int classpath_index);
static void record_result(class ClassLoaderExt::Context *context,
Symbol* class_name,
const s2 classpath_index,