JDK-8176195 : Fix misc module dependencies in jdk_core tests
  • Type: Bug
  • Component: core-libs
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-03-06
  • Updated: 2017-03-22
  • Resolved: 2017-03-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 JDK 9
10Fixed 9 b161Fixed
Related Reports
Blocks :  
Relates :  
Description
Following tests will fail if run with "--limit-modules java.logging,java.scripting" which equals with prior compact1 profile. It is necessary to explicitly declare any module dependencies within the tests, for better test selection.

Parts of the tests depending on java.xml are only because they are testng tests.

jdk_io:
java/io/FilePermission/ReadFileOnPath.java

jdk_net:
sun/net/www/http/KeepAliveCache/B5045306.java

jdk_nio:
java/nio/Buffer/ByteBufferViews.java
java/nio/Buffer/Chars.java
java/nio/channels/AsynchronousSocketChannel/Leaky.java
java/nio/channels/FileChannel/Transfer.java
java/nio/charset/Charset/CharsetContainmentTest.java
java/nio/charset/Charset/Contains.java
java/nio/charset/Charset/NIOCharsetAvailabilityTest.java
java/nio/charset/Charset/RegisteredCharsets.java
java/nio/charset/CharsetEncoder/Flush.java
java/nio/charset/RemovingSunIO/SunioAlias.java
java/nio/charset/coders/Check.java
java/nio/charset/coders/ResetISO2022JP.java
sun/nio/cs/CheckHistoricalNames.java
sun/nio/cs/EuroConverter.java
sun/nio/cs/HWKatakanaMS932EncodeTest.java
sun/nio/cs/ISCIITest.java
sun/nio/cs/JISAutoDetectTest.java
sun/nio/cs/NIOJISAutoDetectTest.java
sun/nio/cs/SJISCanEncode.java
sun/nio/cs/StreamEncoderClose.java
sun/nio/cs/Test6254467.java
sun/nio/cs/TestConverterDroppedCharacters.java
sun/nio/cs/TestCp834_SBCS.java
sun/nio/cs/TestCp93xSISO.java
sun/nio/cs/TestIBM1364.java
sun/nio/cs/TestIBMBugs.java
sun/nio/cs/TestISO2022CNDecoder.java
sun/nio/cs/TestISO2022JP.java
sun/nio/cs/TestISO2022JPEncoder.java
sun/nio/cs/TestISO2022JPSubBytes.java
sun/nio/cs/TestIllegalISO2022Esc.java
sun/nio/cs/TestIllegalSJIS.java
sun/nio/cs/TestMS5022X.java
sun/nio/cs/TestSJIS0213.java
sun/nio/cs/TestSJIS0213_SM.java
sun/nio/cs/TestTrailingEscapesISO2022JP.java

jdk_other:
javax/sql/rowset/serial/SerialBlob/SetBinaryStream.java
javax/sql/rowset/serial/SerialClob/SetAsciiStream.java
javax/sql/rowset/serial/SerialClob/SetCharacterStream.java
javax/naming/*

jdk_util:
java/util/ServiceLoader/modules/Basic.java