Hello gnu, I've been playing around with the CNI from gcj, which I find really helpful, and have come up with a question. I have looked over the documentation, but still cannot answer the question myself so I've reduced myself to bothering somebody else. This is not an emergency....... In my C++ CNI file I access a java ArrayList which contains several instances of my class ItemVersionStatistics. When I enter the line, ItemVersionStatistics *ivs = (ItemVersionStatistics) arrayListVariable->get(0); The compiler gives the following error message: ItemTest.cpp: In function `int main(int, char*)': ItemTest.cpp:643: error: no matching function for call to `ItemVersionStatistics::ItemVersionStatistics(java::lang::Object*)' ./ItemVersionStatistics.h:33: note: candidates are: ItemVersionStatistics::ItemVersionStatistics(java ::lang::String*, java::util::Date*, java::util::ArrayList*) To me it looks like the type cast is being ignored. What am I doing wrong? Thanks! Phillip Plapp