mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8252136: Several methods in hotspot are missing "static"
Reviewed-by: coleenp, stefank, kvn, kbarrett
This commit is contained in:
parent
f6e285103a
commit
09d4936657
71 changed files with 227 additions and 220 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 2024, 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
|
||||
|
@ -259,7 +259,7 @@ static void define_javabase_module(Handle module_handle, jstring version, jstrin
|
|||
}
|
||||
|
||||
// Caller needs ResourceMark.
|
||||
void throw_dup_pkg_exception(const char* module_name, PackageEntry* package, TRAPS) {
|
||||
static void throw_dup_pkg_exception(const char* module_name, PackageEntry* package, TRAPS) {
|
||||
const char* package_name = package->name()->as_C_string();
|
||||
if (package->module()->is_named()) {
|
||||
THROW_MSG(vmSymbols::java_lang_IllegalStateException(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue