Event handler stub issue
Igor <[email protected]> Mon, 19 Dec 2016 08:24:21 -0600
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============5339311756366974328==
Content-Type: multipart/alternative;
boundary="Apple-Mail=_3CAFBB51-D9B3-4E0A-9C13-B00C379289B1"
--Apple-Mail=_3CAFBB51-D9B3-4E0A-9C13-B00C379289B1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=utf-8
Hey everyone,=20
ikvmstub generated a stub for an event handler that I am unable to use. =
Here=E2=80=99s the decompiled Java byte code:
import cli.TradingTechnologies.TTAPI.*;
public final class InstrumentLookupSubscription extends Subscription =
implements IDisposable, AutoCloseable {
=E2=80=A6
public final native void add_Update(_ var1);
Here the type =E2=80=9C_" I believe is:
import =
cli.System.EventHandler..00601_..._Lcli__TradingTechnologies__TTAPI__Instr=
umentLookupSubscriptionEventArgs_...._;
I am unable to use this type as follows:
request.add_Update(x);
I=E2=80=99m using jdk1.8.0_45.jdk.
Have I found a bug or unimplemented feature, or am I not using the =
library correctly? Or perhaps, the event handler type is confusing my =
IDE (IntelliJ)?
Cheers,
Igor=
--Apple-Mail=_3CAFBB51-D9B3-4E0A-9C13-B00C379289B1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=utf-8
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hey everyone, <div class=3D""><br class=3D""></div><div =
class=3D"">ikvmstub generated a stub for an event handler that I am =
unable to use. Here=E2=80=99s the decompiled Java byte code:</div><div =
class=3D""><br class=3D""></div><blockquote style=3D"margin: 0 0 0 40px; =
border: none; padding: 0px;" class=3D""><div class=3D""><font =
face=3D"Menlo" =
class=3D"">import cli.TradingTechnologies.TTAPI.*;</font></div><div =
class=3D""><font face=3D"Menlo" class=3D""><br =
class=3D""></font></div><div class=3D""><font face=3D"Menlo" =
class=3D"">public final =
class InstrumentLookupSubscription extends Subscription&nbs=
p;implements IDisposable, AutoCloseable {</font></div><div =
class=3D""><font face=3D"Menlo" class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>=E2=80=A6</font></div><div =
class=3D""><font face=3D"Menlo" class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>public final native =
void add_Update(_ var1);</font></div></blockquote><div class=3D""><br=
class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">Here the type =E2=80=9C_" I believe is:</div><div =
class=3D""><br class=3D""></div><blockquote style=3D"margin: 0 0 0 40px; =
border: none; padding: 0px;" class=3D""><div class=3D""><font =
face=3D"Menlo" =
class=3D"">import cli.System.EventHandler..00601_..._Lcli__TradingTec=
hnologies__TTAPI__InstrumentLookupSubscriptionEventArgs_...._;</font></div=
></blockquote><div class=3D""><br class=3D""></div><div class=3D""><br =
class=3D""></div><div class=3D"">I am unable to use this type as =
follows:</div><div class=3D""><br class=3D""></div><blockquote =
style=3D"margin: 0 0 0 40px; border: none; padding: 0px;" class=3D""><div =
class=3D""><font face=3D"Menlo" =
class=3D"">request.add_Update(x);</font></div></blockquote><div =
class=3D""><br class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">I=E2=80=99m using jdk1.8.0_45.jdk.</div><div class=3D""><br =
class=3D""></div><div class=3D"">Have I found a bug or unimplemented =
feature, or am I not using the library correctly? Or perhaps, the event =
handler type is confusing my IDE (IntelliJ)?</div><div class=3D""><br =
class=3D""></div><div class=3D"">Cheers,</div><div =
class=3D"">Igor</div></body></html>=
--Apple-Mail=_3CAFBB51-D9B3-4E0A-9C13-B00C379289B1--
--===============5339311756366974328==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
--===============5339311756366974328==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers
--===============5339311756366974328==--