We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec93cc5 commit 077b842Copy full SHA for 077b842
src/java.base/share/classes/java/net/InterfaceAddress.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (c) 2005, 2021, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2005, 2024, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
@@ -42,10 +42,9 @@ public class InterfaceAddress {
42
private short maskLength = 0;
43
44
45
- * Package private constructor. Can't be built directly, instances are
46
- * obtained through the NetworkInterface class.
+ * This constructor is called via JNI in NetworkInterface.c
47
*/
48
- InterfaceAddress() {
+ private InterfaceAddress() {
49
}
50
51
/**
0 commit comments