Status: New
Owner: ----

New issue 315 by mathias.bogaert: CreationException not backwards compatible
http://code.google.com/p/google-guice/issues/detail?id=315

In Guice 1.0, CreationException takes a Collection<Message> in it's
constructor. In Guice 2.0, this was changed to an Iterable<Message>. This
breaks backwards compability. E.g.:

java.lang.NoSuchMethodError:
com.google.inject.CreationException.<init>(Ljava/util/Collection;)V
         at
org.apache.shindig.common.PropertiesModule.readPropertyFile(PropertiesModule.java:77)
         at
org.apache.shindig.common.PropertiesModule.<init>(PropertiesModule.java:50)
         at
piazza.web.servlet.PiazzaGuiceServletContextListener$1.<init>(PiazzaGuiceServletContextListener.java:66)

Adding a constructor that agains accepts a Collection<Message> is trivial.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to