--- old/src/hotspot/share/classfile/classListParser.hpp 2020-08-05 15:53:47.522130304 -0700 +++ new/src/hotspot/share/classfile/classListParser.hpp 2020-08-05 15:53:47.170117054 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2020, 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 @@ -67,6 +67,9 @@ bool _interfaces_specified; const char* _source; + // current line is output from TRACE_RESOLVE + bool _lambda_format; + bool parse_int_option(const char* option_name, int* value); InstanceKlass* load_class_from_source(Symbol* class_name, TRAPS); ID2KlassTable *table() { @@ -122,6 +125,14 @@ bool is_loading_from_source(); + bool is_lambda_format() { + return _lambda_format; + } + + // return the current line, duped + char* current_line() { + return os::strdup((const char*)_line, mtInternal); + } // Look up the super or interface of the current class being loaded // (in this->load_current_class()). InstanceKlass* lookup_super_for_current_class(Symbol* super_name);