src/share/vm/classfile/sharedPathsMiscInfo.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/classfile/sharedPathsMiscInfo.hpp	Mon Feb 22 15:23:39 2016
--- new/src/share/vm/classfile/sharedPathsMiscInfo.hpp	Mon Feb 22 15:23:39 2016

*** 1,7 **** --- 1,7 ---- /* ! * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 2014, 2016, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 62,74 **** --- 62,71 ---- void add_path(const char* path, int type); void write(const void* ptr, size_t size); bool read(void* ptr, size_t size); static void trace_class_path(const char* msg, const char* name = NULL) { ClassLoader::trace_class_path(tty, msg, name); } protected: static bool fail(const char* msg, const char* name = NULL); virtual bool check(jint type, const char* path); public:
*** 142,152 **** --- 139,151 ---- case REQUIRED: return "REQUIRED"; default: ShouldNotReachHere(); return "?"; } } - virtual void print_path(outputStream* out, int type, const char* path) { + ResourceMark rm; + outputStream* out = LogHandle(classpath)::info_stream(); switch (type) { case BOOT: out->print("Expecting -Dsun.boot.class.path=%s", path); break; case NON_EXIST:

src/share/vm/classfile/sharedPathsMiscInfo.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File