[rules-dev] Don't use Java 6 only methods for now, like String.isEmpty()

Geoffrey De Smet ge0ffrey.spam at gmail.com
Fri Dec 16 02:58:57 EST 2011


Yea, or get hudson to build with JDK 5 (which is probably easier and 
just as less likely to stop people commit them, but at least we catch 
them faster).
The real problem is that our guvnor modeshape connector only builds with 
jdk 6.
Although the latest modeshape might run with JDK 5 again, I 'd have to 
check.

Secretly I am hoping we can reopen the "switch to JDK 6 for drools 6" 
discussion :)
It's been almost a year since we had a "switch to JDK 6" discussion.

Op 16-12-11 00:07, Ansgar Konermann schreef:
>
>
> Am 15.12.2011 16:26 schrieb "Geoffrey De Smet" 
> <ge0ffrey.spam at gmail.com <mailto:ge0ffrey.spam at gmail.com>>:
> >
> > Friendly reminder guys,
> >
> > We're still on a minimum version of java 5, so don't use any API methods
> > that only exist in Java 6, not Java 5,
> > such as String.isEmpty().
>
> Hi Geoffrey,
>
> You might want to enforce this automatically by adding the maven 
> animal sniffer plugin to Drools' POMs.
>
> Best regards
>
> Ansgar
>
> >
> > --
> > With kind regards,
> > Geoffrey De Smet
> >
> >
> > _______________________________________________
> > rules-dev mailing list
> > rules-dev at lists.jboss.org <mailto:rules-dev at lists.jboss.org>
> > https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev

-- 
With kind regards,
Geoffrey De Smet

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20111216/7ace0dea/attachment.html 


More information about the rules-dev mailing list