Re: [OpenMap Users] Java 1.6 requirement

From: Don Dietrick <dfdietrick_at_gmail.com>
Date: Fri, 2 Jul 2010 19:36:32 -0400

Hi Pete,

Thanks for the heads-up, I didn't catch that due to the way Mac OSX is
managing java 1.5 right now (the jdk 1.6 libs are being substituted in
the 1.5 installation).

I've fixed my environment and reduced the requirement for the OpenMap
beta back down to 1.5. You should see those changes checked in next
week.

Thanks again,

Don

On Fri, Jul 2, 2010 at 3:21 PM, Pete Flugstad <pete.flugstad_at_gmail.com> wrote:
> Hello!
>
>  com.bbn.openmap.LayerHandler.addLayer(Layer layer, int position)  is calling
> java.lang.String.isEmpty:
>
>            String pre = layer.getPropertyPrefix();
>            if (pre != null && !pre.isEmpty() ) {
>
> However, isEmpty is a new method in Java 1.6.
>
> It's trivial to remain Java 1.5 compliant:
>
>            if (pre != null && pre.length() != 0 ) {
>
> I haven't run into any other Java 1.6ism's yet, and I don't know if
> you want to remain
> Java 1.5 compliant - just pointing this out.  The embedded JVM I'm
> evaluating is
> only Java 1.5 compliant, so it can't deal with the above.
>
> Thanks,
> Pete
>
> --
> [To unsubscribe to this list send an email to "majdart_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe openmap-users"]
>

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Jul 02 2010 - 19:37:36 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT