mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
8056971: Minor class loading clean-up
Misplacement of #if INCLUE_CDS, typos, unnecessary C string duplication Reviewed-by: dholmes, ccheung
This commit is contained in:
parent
f1aa6a6d0c
commit
04e110cf2c
8 changed files with 50 additions and 45 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2014, 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
|
||||
|
@ -30,7 +30,7 @@ void ClassFileStream::truncated_file_error(TRAPS) {
|
|||
THROW_MSG(vmSymbols::java_lang_ClassFormatError(), "Truncated class file");
|
||||
}
|
||||
|
||||
ClassFileStream::ClassFileStream(u1* buffer, int length, char* source) {
|
||||
ClassFileStream::ClassFileStream(u1* buffer, int length, const char* source) {
|
||||
_buffer_start = buffer;
|
||||
_buffer_end = buffer + length;
|
||||
_current = buffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue