--- old/src/share/vm/classfile/sharedPathsMiscInfo.hpp 2016-02-22 15:23:39.397201301 -0500 +++ new/src/share/vm/classfile/sharedPathsMiscInfo.hpp 2016-02-22 15:23:39.243644204 -0500 @@ -1,5 +1,5 @@ /* - * 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 @@ -64,9 +64,6 @@ 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); @@ -144,7 +141,9 @@ } } - virtual void print_path(outputStream* out, int type, const char* path) { + virtual void print_path(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);