Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can a native method have varargs?

843793Oct 10 2004 — edited Oct 10 2004
Is this legal?

native void foo(Object ... args);

If so, what happens on the JNI/C side of the picture?

I would just try to compile it but I'm sitting infront of a Macintosh right now, which makes that more than a bit tricky :)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 7 2004
Added on Oct 10 2004
1 comment
269 views