-
Bug
-
Resolution: Won't Fix
-
P3
-
None
-
5.0
-
x86
-
windows_2000
Name: gm110360 Date: 09/10/2004
FULL PRODUCT VERSION :
java version "1.5.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b60)
Java HotSpot(TM) Client VM (build 1.5.0-beta3-b60, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows 2000 [Версия 5.00.2195]
A DESCRIPTION OF THE PROBLEM :
I can't get String result from ActiveX Bridge component when I call the method of java class from Sybase Power Builder. The call fails with error "can't convert Any type to string"
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
1. Compile the class ComTest (see the SOURCE CODE section below)
2. Make it ActiveX Bridge component as described in
http://java.sun.com/j2se/1.4.2/docs/guide/beans/axbridge/developerguide/index.html
3. Run ActiveX Control Test Container from Microsoft Visual C++ developers pack.
4. Set the value of the
4. Test ActiveX component by invoking method echo (Menu Control/Invoke Methods...)
ACTUAL -
Resulting string indicates VT_FONT type instead of expected VT_BSTR.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class ComTest
{
public String echo(String hello)
{
return hello;
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
The only way is to use JDK 1.4.2_05 Runtime.
Release Regression From : 1.4.2
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.
(Incident Review ID: 300909)
======================================================================
FULL PRODUCT VERSION :
java version "1.5.0-beta3"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta3-b60)
Java HotSpot(TM) Client VM (build 1.5.0-beta3-b60, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows 2000 [Версия 5.00.2195]
A DESCRIPTION OF THE PROBLEM :
I can't get String result from ActiveX Bridge component when I call the method of java class from Sybase Power Builder. The call fails with error "can't convert Any type to string"
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
1. Compile the class ComTest (see the SOURCE CODE section below)
2. Make it ActiveX Bridge component as described in
http://java.sun.com/j2se/1.4.2/docs/guide/beans/axbridge/developerguide/index.html
3. Run ActiveX Control Test Container from Microsoft Visual C++ developers pack.
4. Set the value of the
4. Test ActiveX component by invoking method echo (Menu Control/Invoke Methods...)
ACTUAL -
Resulting string indicates VT_FONT type instead of expected VT_BSTR.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public class ComTest
{
public String echo(String hello)
{
return hello;
}
}
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
The only way is to use JDK 1.4.2_05 Runtime.
Release Regression From : 1.4.2
The above release value was the last known release where this
bug was known to work. Since then there has been a regression.
(Incident Review ID: 300909)
======================================================================
- relates to
-
JDK-6365244 Inconsistent behavior of liveconnect applets across different browsers should be documented
-
- Resolved
-
-
JDK-6359213 Applet does not return native JS string to JavsScript with Netscape/Firefox
-
- Closed
-
-
JDK-4651777 JavaScript numeric variables are returned to Java applet with Integer wrapper.
-
- Closed
-
-
JDK-6358432 ActiveX Bridge produces NullPointerException without any reason
-
- Closed
-