JDK-8169658 : [TESTBUG] javax/rmi tests have undeclared dependencies
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2016-11-14
  • Updated: 2016-12-05
  • Resolved: 2016-11-18
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 9
9 b147Fixed
Related Reports
Relates :  
Relates :  
Description
The tests

javax/rmi/PortableRemoteObject/8146975/RmiIiopReturnValueTest.java
javax/rmi/PortableRemoteObject/ConcurrentHashMapTest.java

have undeclared dependencies on java.rmi and java.naming modules.

jdeps reporting below modules:

$> jdk9_latest/bin/jdeps --list-deps JTwork/classes/javax/rmi/PortableRemoteObject/
   java.base
   java.corba
   java.naming
   java.rmi

The issue leads to failure in case of usage "--limit-modules" command-line option.