I seem to remember someone claiming sometime that you didn't
actually need the reflection.
You don't need to use any reflection to use the ApplicationAdapter
on non-Mac platforms without including the stubs. All you need to
do is make sure that the code path that executes when running on
non-macs doesn't actually use any classes from the stub. I do it
with a simple check of the os system property.
Ah, I was thinking you were the one that said this before. It seems
like you would always need to remember to test that you hadn't messed
this up when you changed the code. Reflection still seems more
certain to me. But I guess it comes down to what you like best that
works for you.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden