< prev index next >

src/java.base/share/classes/java/net/Inet6Address.java

Print this page

        

@@ -174,10 +174,15 @@
 
 public final
 class Inet6Address extends InetAddress {
     static final int INADDRSZ = 16;
 
+    /*
+     * cached scope_id - for link-local address use only.
+     */
+    private transient int cached_scope_id;  // 0
+
     private class Inet6AddressHolder {
 
         private Inet6AddressHolder() {
             ipaddress = new byte[INADDRSZ];
         }
< prev index next >