commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: [Math] Javadoc warning
Date Tue, 24 Apr 2012 23:55:16 GMT
On 24 April 2012 22:25, Gilles Sadowski <gilles@harfang.homelinux.org> wrote:
> Referring to this change in "Precision.java":
> ---CUT---
> r1328492 | luc | 2012-04-20 22:15:11 +0200 (Fri, 20 Apr 2012) | 6 lines
>
> Added a workaround for an OpenJDK issue on sparc solaris.
>
> The compiler has issues with very small double constants, despite they
> are perfectly legal Java and representable in IEEE754.
> ---CUT---
>
>
> Using a function call instead of a literal constant generates a Javadoc
> warning:
> ---CUT---
> [WARNING] [...]/trunk/src/main/java/org/apache/commons/math3/util/Precision.java:42:
warning - @value tag (which references EPSILON) can only be used in constants.
> ---CUT---
>
> Perhaps the bug should be corrected in OpenJDK's Solaris implementation.

It would be a lot easier to fix the Javadoc.

>
> Gilles
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message