mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8225235: Unused field defaultIndex in NetworkInterface
Reviewed-by: chegar, vtewari, dfuchs, jpai
This commit is contained in:
parent
a07975bf3e
commit
b030c7de32
2 changed files with 2 additions and 11 deletions
|
@ -101,7 +101,6 @@ jfieldID ni_bindsID;
|
|||
jfieldID ni_virutalID;
|
||||
jfieldID ni_childsID;
|
||||
jfieldID ni_parentID;
|
||||
jfieldID ni_defaultIndexID;
|
||||
jmethodID ni_ctrID;
|
||||
|
||||
static jclass ni_ibcls;
|
||||
|
@ -187,9 +186,7 @@ JNIEXPORT void JNICALL Java_java_net_NetworkInterface_init
|
|||
CHECK_NULL(ni_ib4broadcastID);
|
||||
ni_ib4maskID = (*env)->GetFieldID(env, ni_ibcls, "maskLength", "S");
|
||||
CHECK_NULL(ni_ib4maskID);
|
||||
ni_defaultIndexID = (*env)->GetStaticFieldID(env, ni_class, "defaultIndex",
|
||||
"I");
|
||||
CHECK_NULL(ni_defaultIndexID);
|
||||
|
||||
initInetAddressIDs(env);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue