[1634] in java-interest

home help back first fref pref prev next nref lref last post

Re: Accessing java String from native c function.

daemon@ATHENA.MIT.EDU (Jeff White)
Tue Sep 12 01:21:26 1995

From: Jeff White <jsw@cs.brown.edu>
Date: Mon, 11 Sep 1995 21:59:39 -0400
To: ibalkhi@dnt.dialog.com
In-Reply-To: <9509120145.AA22412@hawking.development>
Reply-To: jsw@cs.brown.edu
Cc: java-interest@java.sun.com


>>>>> "Imran" == Imran Balkhi (NT) <ibalkhi@dnt.dialog.com> writes:

    Imran> I am trying to access java string type data element from c
    Imran> native function. At runtime
    Imran> IncompatibleClassChangeException error. Please Help.


    Imran> 	execute_java_dynamic_method (0, javaobj, "get_AccNum",
    Imran> "()LString");
	

Sorry about the confusion, everyone.. ..

The signature should be "(V)Ljava/lang/String;"  

Imran:  Please tell me that this works!!

You always use slashes instead of underscores in the signature.
Wouldn't it be more consisted if underscores were used throughout?

jeff

 --------------------------------------------------------------------
| Jeff White jsw@cs.brown.edu http://www.cs.brown.edu/people/jsw/    |
| "So you run and you run to catch up with the sun but it's sinking  |
| Racing around to come up behind you again" - pink floyd            |
 --------------------------------------------------------------------
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post