On Sat, 26 Jun 2004 00:35:51 -0400, "James D Carroll"
<> wrote or quoted :
>2. Verify that the class I found in the jar and loaded via Class.forName()
>is that same as the one in the jar.
Why wouldn't it be? If someone has tampered with the that process,
surely they could tamper with your code to check up on them.
Perhaps you could do a sanity check, make the class do some
computations and check it gives the expected result.
If this is anti-piracy logic, see
http://mindprod.com/jgloss/obfuscator.html
for some hints.
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See
http://mindprod.com/jgloss/jgloss.html for The Java Glossary.