On Thu, Mar 29, 2012 at 6:39 PM, Christian Grobmeier <grobme...@gmail.com>wrote:
> +1 on the move to java 6 > > we should consider to go to 3.0... its a breaking change... but i > leave it up to you > Since you are the second person that suggests it, this Java move on this particular component could be a 3.0. I can go for that. Thoughts from others? Gary > > > On Fri, Mar 30, 2012 at 12:35 AM, Gary Gregory <garydgreg...@gmail.com> > wrote: > > On Thu, Mar 29, 2012 at 6:15 PM, Paul Libbrecht <p...@hoplahup.net> > wrote: > > > >> Will the resulting jars still run on jdk 1.5? > >> I think I would suggest a new major version if not. > >> > > > > Hi Paul. > > > > No, if we use Java 6 APIs, you'll get errors on Java 5. > > > > We have not required major version change in the past for changing Java > > versions on other Commons components. > > > > I happy to make the next release 3.0 instead of 2.3 but I do not see this > > needed ATM. > > > > Thank you, > > Gary > > > > > >> paul > >> > >> > >> Le 29 mars 2012 à 23:55, Gary Gregory a écrit : > >> > >> > Hi All: > >> > > >> > In order to add and use Charset APIs for encodings instead of encoding > >> name > >> > Strings with various APIs like String(byte[], Charset) and so on, I > plan > >> on > >> > moving [io] to Java 6. > >> > > >> > I have (not committed) changes to the IOUtils class as a start: all > APIs > >> > that can take a String encoding name (old school) have a sister API > that > >> > takes a Charset object (new school). > >> > > >> > The refactoring I have is actually quite nice and gets rid of the odd > >> noise > >> > in the implementation "if encoding is null then call API1 else call > >> API2." > >> > Instead I convert the null to Charset.defaultCharset() in a new API > >> (again, > >> > not committed yet until I set the POM to Java 6). > >> > > >> > Thank you, > >> > Gary > >> > > >> > -- > >> > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > >> > JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0 > >> > Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK > >> > Blog: http://garygregory.wordpress.com > >> > Home: http://garygregory.com/ > >> > Tweet! http://twitter.com/GaryGregory > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > >> For additional commands, e-mail: dev-h...@commons.apache.org > >> > >> > > > > > > -- > > E-Mail: garydgreg...@gmail.com | ggreg...@apache.org > > JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0 > > Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK > > Blog: http://garygregory.wordpress.com > > Home: http://garygregory.com/ > > Tweet! http://twitter.com/GaryGregory > > > > -- > http://www.grobmeier.de > https://www.timeandbill.de > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > > -- E-Mail: garydgreg...@gmail.com | ggreg...@apache.org JUnit in Action, 2nd Ed: <http://goog_1249600977>http://bit.ly/ECvg0 Spring Batch in Action: <http://s.apache.org/HOq>http://bit.ly/bqpbCK Blog: http://garygregory.wordpress.com Home: http://garygregory.com/ Tweet! http://twitter.com/GaryGregory