call it public domain, call it attribution-only, whatever you like. there is nothing incompatible with Apache 2, fdlibm was also used by apache harmony for its math code.
On Sat, Sep 19, 2015 at 12:33 PM, Earl Hood <earlh...@gmail.com> wrote: > On Sat, Sep 19, 2015 at 11:14 AM, Robert Muir wrote: > >> There is nothing unusual about public domain code. If your lawyers do >> not understand that, tell them to go back to school. > > Actually, the code in question is not in the public domain, despite that > the term "public domain" is in the comments of SloppyMath.java: > > > /* some code derived from jodk: http://code.google.com/p/jodk/ (apache 2.0) > * asin() derived from fdlibm: http://www.netlib.org/fdlibm/e_asin.c > (public domain): > * > ============================================================================= > * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. > * > * Developed at SunSoft, a Sun Microsystems, Inc. business. > * Permission to use, copy, modify, and distribute this > * software is freely granted, provided that this notice > * is preserved. > * > ============================================================================= > */ > > Nowhere in e_asin.c is it mentioned the file has been released to the > public domain. > > The 1993 block is the actual license from e_asin.c, but examination of > it indicates that it should be perfectly fine to use in a Apache 2.0 > licensed or non-open-source/free software project. Just leave the > notice as-is. > > If the OP is still concerned, then the OP will have to follow-up with > the specific legal concern SloppyMath.java allegedly raises. Saying > there is a licensing concern is of little help without providing > specifics. > > --ewh > > P.S. IANAL > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org