src/java.security.jgss/share/classes/sun/security/krb5/internal/HostAddress.java
changeset 58331 e4ce29f6094e
parent 47216 71c04702a3d5
equal deleted inserted replaced
58330:de8e08015d51 58331:e4ce29f6094e
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   163     }
   163     }
   164 
   164 
   165     /**
   165     /**
   166      * Creates a HostAddress from the specified address and address type.
   166      * Creates a HostAddress from the specified address and address type.
   167      *
   167      *
       
   168      * Warning: called by nativeccache.c.
       
   169      *
   168      * @param new_addrType the value of the address type which matches the defined
   170      * @param new_addrType the value of the address type which matches the defined
   169      *                       address family constants in the Berkeley Standard
   171      *                       address family constants in the Berkeley Standard
   170      *                       Distributions of Unix.
   172      *                       Distributions of Unix.
   171      * @param new_address network address.
   173      * @param new_address network address.
   172      * @exception KrbApErrException if address type and address length do not match defined value.
   174      * @exception KrbApErrException if address type and address length do not match defined value.