-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
None
-
merlin
-
sparc
-
solaris_8
-
Not verified
*******************************************************************************
tuong.nguyen@eng 2000-09-29
Spec. reference:
- OMG ptc/00-01-06 Java to IDL mapping, section 1.3.5.10, page 1-20
Problem description:
According to the ptc/00-01-06 spec., section 1.3.5.10, that when mapping a
Java String constant definition to IDL, the "wstring" type should be used.
Unfortunately, the output below showed ::CORBA::WStringValue was used instead.
(tuongn@bonnelle) [5:03pm] constants01 [600] % cat Test3.java
// OMG ptc/00-01-06 - 1.3.5.10 Mapping for String constant
import java.rmi.*;
public interface Test3 extends Remote {
final static String STR1 = "Hello";
}
(tuongn@bonnelle) [5:03pm] constants01 [601] % /usr/local/java/jdk1.4/solaris/bin/rmic -idl Test3
(tuongn@bonnelle) [5:03pm] constants01 [602] % cat Test3.idl
/**
* Test3.idl
* Generated by rmic -idl. Do not edit
* Friday, September 29, 2000 5:03:53 PM PDT
*/
#include "orb.idl"
#ifndef __Test3__
#define __Test3__
interface Test3 {
const ::CORBA::WStringValue STR1 = "Hello";
};
#pragma ID Test3 "RMI:Test3:0000000000000000"
#endif
(tuongn@bonnelle) [5:04pm] constants01 [603] %
********************************************************************************
###@###.### 2001-08-13
- Fix verified ok
1) with build: j2sdk-1_4_0-beta_refresh-bin-b75-solsparc-09_aug_2001
2) with test: tests/product/rmi-iiop/JavaToIdlMapping/Interfaces/constants01/
Test3.java
********************************************************************************
tuong.nguyen@eng 2000-09-29
Spec. reference:
- OMG ptc/00-01-06 Java to IDL mapping, section 1.3.5.10, page 1-20
Problem description:
According to the ptc/00-01-06 spec., section 1.3.5.10, that when mapping a
Java String constant definition to IDL, the "wstring" type should be used.
Unfortunately, the output below showed ::CORBA::WStringValue was used instead.
(tuongn@bonnelle) [5:03pm] constants01 [600] % cat Test3.java
// OMG ptc/00-01-06 - 1.3.5.10 Mapping for String constant
import java.rmi.*;
public interface Test3 extends Remote {
final static String STR1 = "Hello";
}
(tuongn@bonnelle) [5:03pm] constants01 [601] % /usr/local/java/jdk1.4/solaris/bin/rmic -idl Test3
(tuongn@bonnelle) [5:03pm] constants01 [602] % cat Test3.idl
/**
* Test3.idl
* Generated by rmic -idl. Do not edit
* Friday, September 29, 2000 5:03:53 PM PDT
*/
#include "orb.idl"
#ifndef __Test3__
#define __Test3__
interface Test3 {
const ::CORBA::WStringValue STR1 = "Hello";
};
#pragma ID Test3 "RMI:Test3:0000000000000000"
#endif
(tuongn@bonnelle) [5:04pm] constants01 [603] %
********************************************************************************
###@###.### 2001-08-13
- Fix verified ok
1) with build: j2sdk-1_4_0-beta_refresh-bin-b75-solsparc-09_aug_2001
2) with test: tests/product/rmi-iiop/JavaToIdlMapping/Interfaces/constants01/
Test3.java
********************************************************************************