You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Gilles Sadowski <gi...@harfang.homelinux.org> on 2012/04/24 23:25:27 UTC

[Math] Javadoc warning

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.


Gilles

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


Re: [Math] Javadoc warning

Posted by sebb <se...@gmail.com>.
On 24 April 2012 22:25, Gilles Sadowski <gi...@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