-
Bug
-
Resolution: Fixed
-
P3
-
8
-
b108
-
x86
-
windows
Some windows-specific java code contains conditions flagged by the javac -Xlint:auxiliaryclass flag, preventing that flag from being used in the build of the jdk repo:
c:\jprt\T\P1\233622.juh\s\jdk\src\windows\classes\java\net\DualStackPlainSocketImpl.java:224: warning: auxiliary class InetAddressContainer in c:\jprt\T\P1\233622.juh\s\jdk\src\share\classes\java\net\AbstractPlainSocketImpl.java should not be accessed from outside its own source file
localAddress(nativefd, (InetAddressContainer)iaContainerObj);
^
c:\jprt\T\P1\233622.juh\s\jdk\src\windows\classes\java\net\TwoStacksPlainSocketImpl.java:125: warning: auxiliary class InetAddressContainer in c:\jprt\T\P1\233622.juh\s\jdk\src\share\classes\java\net\AbstractPlainSocketImpl.java should not be accessed from outside its own source file
InetAddressContainer in = new InetAddressContainer();
^
c:\jprt\T\P1\233622.juh\s\jdk\src\windows\classes\java\net\TwoStacksPlainSocketImpl.java:125: warning: auxiliary class InetAddressContainer in c:\jprt\T\P1\233622.juh\s\jdk\src\share\classes\java\net\AbstractPlainSocketImpl.java should not be accessed from outside its own source file
InetAddressContainer in = new InetAddressContainer();
^
These warning categories should be cleared in this code so the entire jdk repo can be protected by these javac checks.
See related build-dev thread:
http://mail.openjdk.java.net/pipermail/build-dev/2013-August/009795.html
http://mail.openjdk.java.net/pipermail/build-dev/2013-September/010050.html
c:\jprt\T\P1\233622.juh\s\jdk\src\windows\classes\java\net\DualStackPlainSocketImpl.java:224: warning: auxiliary class InetAddressContainer in c:\jprt\T\P1\233622.juh\s\jdk\src\share\classes\java\net\AbstractPlainSocketImpl.java should not be accessed from outside its own source file
localAddress(nativefd, (InetAddressContainer)iaContainerObj);
^
c:\jprt\T\P1\233622.juh\s\jdk\src\windows\classes\java\net\TwoStacksPlainSocketImpl.java:125: warning: auxiliary class InetAddressContainer in c:\jprt\T\P1\233622.juh\s\jdk\src\share\classes\java\net\AbstractPlainSocketImpl.java should not be accessed from outside its own source file
InetAddressContainer in = new InetAddressContainer();
^
c:\jprt\T\P1\233622.juh\s\jdk\src\windows\classes\java\net\TwoStacksPlainSocketImpl.java:125: warning: auxiliary class InetAddressContainer in c:\jprt\T\P1\233622.juh\s\jdk\src\share\classes\java\net\AbstractPlainSocketImpl.java should not be accessed from outside its own source file
InetAddressContainer in = new InetAddressContainer();
^
These warning categories should be cleared in this code so the entire jdk repo can be protected by these javac checks.
See related build-dev thread:
http://mail.openjdk.java.net/pipermail/build-dev/2013-August/009795.html
http://mail.openjdk.java.net/pipermail/build-dev/2013-September/010050.html
- blocks
-
JDK-8024603 Turn on javac lint checking for auxiliaryclass, empty, and try in jdk build
-
- Resolved
-
- relates to
-
JDK-8024642 jfr code prevents use of -Xlint:try in jdk build
-
- Resolved
-
-
JDK-8024600 [macosx] code prevents use of -Xlint:auxiliaryclass,empty in jdk build
-
- Resolved
-