• Post Reply Bookmark Topic Watch Topic
  • New Topic

Extend a JNI wrapped class  RSS feed

 
Sam Smoot
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to know if it is at all possible to exend a class that is written in c/c++ and accessed by using JNI wrapper services with Java. I cannot touch the acutal source (c/c++) code.

Thanks.
Sam
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't directly extend a C++ class, no. But you can write "glue" code to make that class available as a Java class.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!