mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8228659: Record which Java methods are called by native codes in JGSS and JAAS
Reviewed-by: mullan
This commit is contained in:
parent
83b11a570a
commit
12c278c3e3
17 changed files with 44 additions and 95 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2019, 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
|
||||
|
@ -68,6 +68,7 @@ public class HostAddresses implements Cloneable {
|
|||
private HostAddress[] addresses = null;
|
||||
private volatile int hashCode = 0;
|
||||
|
||||
// Warning: called by nativeccache.c
|
||||
public HostAddresses(HostAddress[] new_addresses) throws IOException {
|
||||
if (new_addresses != null) {
|
||||
addresses = new HostAddress[new_addresses.length];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue