InstanceLifecycleEvent
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache JDO Project > InstanceLifecycleEvent




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    InstanceLifecycleEvent  
Abe White


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-06-05 12:49 PM

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?







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:19 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register