commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [io] Moving to Java 6 for version 2.3
Date Thu, 29 Mar 2012 22:48:14 GMT
On Thu, Mar 29, 2012 at 6:39 PM, Christian Grobmeier <grobmeier@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 <garydgregory@gmail.com>
> wrote:
> > On Thu, Mar 29, 2012 at 6:15 PM, Paul Libbrecht <paul@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: garydgregory@gmail.com | ggregory@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-unsubscribe@commons.apache.org
> >> For additional commands, e-mail: dev-help@commons.apache.org
> >>
> >>
> >
> >
> > --
> > E-Mail: garydgregory@gmail.com | ggregory@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-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
E-Mail: garydgregory@gmail.com | ggregory@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message