-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
None
-
merlin
-
sparc
-
solaris_8
-
Not verified
********************************************************************************
tuong.nguyen@eng 2000-09-28
Spec. reference:
OMG ptc/00-01-06 , section 1.3.4.3 , page 1-12
Problem description:
According to the OMG ptc/00-01-06 spec. page 1-12, the following Java
accessor methods should be mapped successfully, unfortunately, the
"rmic -idl ..." command failed with the error as below:
(tuongn@bonnelle) [1:22pm] accessor01 [384] % cat Test1.java
import java.rmi.*;
public interface Test1 extends Remote {
boolean getFoo1() throws RemoteException;
boolean isFoo1() throws RemoteException;
void setFoo1(boolean b1) throws RemoteException;
}
(tuongn@bonnelle) [1:22pm] accessor01 [385] % /usr/local/java/jdk1.4/solaris/bin/javac Test1.java
(tuongn@bonnelle) [1:23pm] accessor01 [386] % /usr/local/java/jdk1.4/solaris/bin/rmic -idl Test1
error: Test1 is not a valid interface: the idl name for method boolean getFoo1 () throws java.rmi.RemoteException; conflicts with another method.
1 error
(tuongn@bonnelle) [1:24pm] accessor01 [387] %
********************************************************************************
###@###.### 2001-08-14
- Fix verified ok
1) with build: j2sdk-1_4_0-beta_refresh-bin-b75-solsparc-09_aug_2001
2) with test:
/Tuong/RTM3/tests/product/rmi-iiop/JavaToIdlMapping/Interfaces/accessor01/Test1.java
********************************************************************************
tuong.nguyen@eng 2000-09-28
Spec. reference:
OMG ptc/00-01-06 , section 1.3.4.3 , page 1-12
Problem description:
According to the OMG ptc/00-01-06 spec. page 1-12, the following Java
accessor methods should be mapped successfully, unfortunately, the
"rmic -idl ..." command failed with the error as below:
(tuongn@bonnelle) [1:22pm] accessor01 [384] % cat Test1.java
import java.rmi.*;
public interface Test1 extends Remote {
boolean getFoo1() throws RemoteException;
boolean isFoo1() throws RemoteException;
void setFoo1(boolean b1) throws RemoteException;
}
(tuongn@bonnelle) [1:22pm] accessor01 [385] % /usr/local/java/jdk1.4/solaris/bin/javac Test1.java
(tuongn@bonnelle) [1:23pm] accessor01 [386] % /usr/local/java/jdk1.4/solaris/bin/rmic -idl Test1
error: Test1 is not a valid interface: the idl name for method boolean getFoo1 () throws java.rmi.RemoteException; conflicts with another method.
1 error
(tuongn@bonnelle) [1:24pm] accessor01 [387] %
********************************************************************************
###@###.### 2001-08-14
- Fix verified ok
1) with build: j2sdk-1_4_0-beta_refresh-bin-b75-solsparc-09_aug_2001
2) with test:
/Tuong/RTM3/tests/product/rmi-iiop/JavaToIdlMapping/Interfaces/accessor01/Test1.java
********************************************************************************