JDK-7184946 : TEST_BUG: Compilation failed: com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-07-18
  • Updated: 2013-12-17
  • Resolved: 2012-07-27
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 7 JDK 8
7u21Fixed 8 b49Fixed
Related Reports
Relates :  
Description
com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java

Failed in compilation.

----------messages:(3/206)----------
command: compile /Users/aurora/sandbox/testbase/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.047
----------direct:(14/980)----------
/Users/aurora/sandbox/testbase/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java:33: error: package com.sun.jndi.rmi.registry.RegistryContextsun.jndi.rmi does not exist
import com.sun.jndi.rmi.registry.RegistryContextsun.jndi.rmi.RegistryContext;
                                                            ^
/Users/aurora/sandbox/testbase/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java:44: error: cannot find symbol
        RegistryContext ctx = new RegistryContext(null, registryPort, null);
        ^
  symbol:   class RegistryContext
  location: class ContextWithNullProperties
/Users/aurora/sandbox/testbase/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java:44: error: cannot find symbol
        RegistryContext ctx = new RegistryContext(null, registryPort, null);
                                  ^
  symbol:   class RegistryContext
  location: class ContextWithNullProperties
3 errors
result: Failed. Compilation failed: Compilation failed


test result: Failed. Compilation failed: Compilation failed

Comments
Verified with JDK Nightly results. com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java passed as expected after fix
20-08-2013

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/89129c0737f1
14-08-2012

EVALUATION .
27-07-2012