-
Bug
-
Resolution: Not an Issue
-
P3
-
None
-
1.3.0
-
x86
-
windows_nt
Name: rlT66838 Date: 03/16/2000
java version "1.3.0rc1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)
When using the JDK1.3 runtime, I get the error INV_OBJREF when executing a
string_to_object(ref) on a stringified object that I read from a file. It does
not seem to matter which javac is used (1.2.2 or 1.3). It only happens when the
jdk1.3\bin is in my path. When I change to jdk1.2.2\bin, it works fine.
Source stub follows:
// Get the IOR of the server
try
{
BufferedReader in
= new BufferedReader( new FileReader( "test.ior" ) );
ref = in.readLine();
}
catch( IOException ex )
{
System.out.println( "Could not open file 'test.ior'" );
System.exit( -1 );
}
// Narrow obj to our obj
simpleserver = null;
while(true)
{
try
{
obj = orb.string_to_object( ref );
simpleserver = Simple_ServerHelper.narrow( obj );
}
catch( Exception e)
{
System.out.println("narrow caught: " + e);
}
break;
}
(Review ID: 102506)
======================================================================