Apache JDO Project - InstanceLifecycleEvent

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > June 2005 > InstanceLifecycleEvent





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author InstanceLifecycleEvent
Abe White

2005-06-06, 7:49 am

I sent this to the JDO EG mailing list a few weeks ago, but that might
have been the wrong place:

In the JDO 2 codebase in subversion,
javax/jdo/listener/InstanceLifecycleEvent.java throws an
IllegalArgumentException from its constructor when the provided event
type constant is not recognized. While this would normally be good
practice, I believe this is a very bad thing for spec code. It makes
it extremely difficult for vendors to define their own additional
lifecycle event types. It's not as if events are ever constructed by
users, so I don't believe removing the check will lead to errors. I am
not a committer, but I can send a patch if needed. The change is
trivial, though, so it hardly seems necessary.

Can we get rid of this exception? Is there a better way for me to
report this issue?


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com