directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu" <akaras...@apache.org>
Subject Re: [ApacheDS] Compile problem due to Java6 methods
Date Sun, 09 Dec 2007 16:08:10 GMT
I just discovered this nice little method thanks to Emmanuel.  Ok bye bye
Arrays.copyOf().

Alex

On Dec 9, 2007 8:42 AM, Emmanuel Lecharny <elecharny@gmail.com> wrote:

> Damn !!!!
>
>
> This is my fault ...
>
> I will fix it asap
>
> On Dec 9, 2007 12:02 PM, Stefan Seelmann <seelmann@apache.org> wrote:
> > Hi all,
> >
> > I tried to build the big-bang branch, but I get the following compile
> error:
> >
> >
> > ------------------------------------------------------------------------
> > [ERROR] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Compilation failure
> >
> >
> /home/stefan/Documents/Apache/svn/apacheds/branches/bigbang-with-dependencies/shared/ldap/src/main/java/org/apache/directory/shared/ldap/entry/BinaryValue.java:[134,33]
> > cannot find symbol
> > symbol  : method copyOf(byte[],int)
> > location: class java.util.Arrays
> >
> >
> /home/stefan/Documents/Apache/svn/apacheds/branches/bigbang-with-dependencies/shared/ldap/src/main/java/org/apache/directory/shared/ldap/entry/BinaryValue.java:[154,35]
> > cannot find symbol
> > symbol  : method copyOf(byte[],int)
> > location: class java.util.Arrays
> >
> >
> > I use Java 1.5.0_12. The java.util.Arrays#copyOf methods exists not
> > until Java6. I guess this happend by an oversight. Or do we use Java6
> > for the next ApacheDS release?
> >
> > Regards,
> > Stefan
> >
> >
>
>
>
> --
> Regards,
> Cordialement,
> Emmanuel L├ęcharny
> www.iktek.com
>

Mime
View raw message