• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to test that the stub class is really used?

 
Mika Tapanainen
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

The application has to use the generated stub class. I have generated the DataImpl_Stub.class, but how can I be sure that the application uses it? I'm afraid that it is still possible that
the application uses dynamic class downloading?

I have tested this by deleting the file and then using the jvm parameter -Djava.rmi.server.ignoreStubClasses=false. Everything still works fine. But I'm not sure can the jvm parameter get the value false.

Any ideas,

Thanks,

Mika
 
Roberto Perillo
Bartender
Posts: 2273
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy, Mika!

Please take a look here. I think it might be helpful!
 
Mika Tapanainen
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks!

I have to read the discussion.

Mika
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!