-
Bug
-
Resolution: Fixed
-
P3
-
8u20
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8177299 | 11 | Raymond Gallardo | P3 | Closed | Not an Issue | |
JDK-8197236 | 8u192 | Raymond Gallardo | P3 | Resolved | Fixed | b01 |
JDK-8195430 | 8u172 | Raymond Gallardo | P3 | Resolved | Fixed | b03 |
JDK-8184867 | 8u162 | Raymond Gallardo | P3 | Resolved | Fixed | b01 |
JDK-8177300 | 8u161 | Raymond Gallardo | P3 | Resolved | Fixed | b01 |
JDK-8182974 | 8u152 | Raymond Gallardo | P3 | Resolved | Fixed | b06 |
JDK-8182219 | 8u151 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8181983 | 8u141 | Raymond Gallardo | P3 | Resolved | Fixed | b13 |
JDK-8192734 | emb-8u161 | Raymond Gallardo | P3 | Resolved | Fixed | b01 |
JDK-8184663 | emb-8u151 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8182046 | emb-8u141 | Raymond Gallardo | P3 | Resolved | Fixed | b13 |
As per testcase one can see that the CNCtx code falls back to a default "localhost:900" set up if an issue is encountered whilst parsing/connecting to the IIOP URL outlined by the java.naming.provider.url system property.
testcase :
*****
import javax.naming.*;
import java.util.*;
public class Test {
public static void main(String[] args) throws Exception {
Hashtable cosNamingEnv = new Hashtable() ;
cosNamingEnv.put("java.naming.factory.initial","com.sun.jndi.cosnaming.CNCtxFactory" ) ;
cosNamingEnv.put("java.naming.provider.url","iiop://1.2.3.4:12345" ) ;
InitialContext cosContext = new InitialContext(cosNamingEnv) ;
}
}
*****
The code responsible for setting the default values for the naming service in this instance can be found at :
http://hg.openjdk.java.net/jdk8u/jdk8u/jdk/file/tip/src/share/classes/com/sun/jndi/cosnaming/CNCtx.java#l316
The exception is silently caught and we resort to default params (localhost:900)
- backported by
-
JDK-8177300 CosNaming's implementation doesn't comply with the specification
-
- Resolved
-
-
JDK-8181983 CosNaming's implementation doesn't comply with the specification
-
- Resolved
-
-
JDK-8182046 CosNaming's implementation doesn't comply with the specification
-
- Resolved
-
-
JDK-8182219 CosNaming's implementation doesn't comply with the specification
-
- Resolved
-
-
JDK-8182974 CosNaming's implementation doesn't comply with the specification
-
- Resolved
-
-
JDK-8184663 CosNaming's implementation doesn't comply with the specification
-
- Resolved
-
-
JDK-8184867 CosNaming's implementation doesn't comply with the specification
-
- Resolved
-
-
JDK-8192734 CosNaming's implementation doesn't comply with the specification
-
- Resolved
-
-
JDK-8195430 CosNaming's implementation doesn't comply with the specification
-
- Resolved
-
-
JDK-8197236 CosNaming's implementation doesn't comply with the specification
-
- Resolved
-
-
JDK-8177299 CosNaming's implementation doesn't comply with the specification
-
- Closed
-