mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8214809: CDS storage improvements
Reviewed-by: acorn, iklam, ahgross, rhalade
This commit is contained in:
parent
def1ac3acc
commit
b999cc8f33
2 changed files with 7 additions and 8 deletions
|
@ -6016,9 +6016,9 @@ void ClassFileParser::parse_stream(const ClassFileStream* const stream,
|
|||
_minor_version = stream->get_u2_fast();
|
||||
_major_version = stream->get_u2_fast();
|
||||
|
||||
if (DumpSharedSpaces && _major_version < JAVA_1_5_VERSION) {
|
||||
if (DumpSharedSpaces && _major_version < JAVA_6_VERSION) {
|
||||
ResourceMark rm;
|
||||
warning("Pre JDK 1.5 class not supported by CDS: %u.%u %s",
|
||||
warning("Pre JDK 6 class not supported by CDS: %u.%u %s",
|
||||
_major_version, _minor_version, _class_name->as_C_string());
|
||||
Exceptions::fthrow(
|
||||
THREAD_AND_LOCATION,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue