You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2018/01/25 18:18:00 UTC

[jira] [Commented] (RNG-46) Benign incompatibility (?)

    [ https://issues.apache.org/jira/browse/RNG-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16339586#comment-16339586 ] 

Gilles commented on RNG-46:
---------------------------

As suggested by Oliver, I've added an explanation in "changes.xml" (commit a242b59f78d93940e010514df2b43cf1a66df34a in "master").

> Benign incompatibility (?)
> --------------------------
>
>                 Key: RNG-46
>                 URL: https://issues.apache.org/jira/browse/RNG-46
>             Project: Commons RNG
>          Issue Type: Sub-task
>            Reporter: Gilles
>            Priority: Blocker
>              Labels: compatibility, incompatibility
>             Fix For: 1.1
>
>
> Clirr reports this error:
>  {{Removed org.apache.commons.rng.sampling.distribution.SamplerBase from the list of superclasses}}
>  for this class:
>  {{org.apache.commons.rng.sampling.distribution.BoxMullerLogNormalSampler}}
> It is quite true.
>  However, no functionality inherited from {{SamplerBase}} could have been used since a {{null}} was passed to its constructor (i.e. any call to a method from the base class would trigger a {{NullPointerException}}).
> Moreover:
>  * {{SamplerBase}} is only meant for internal usage,
>  * it only contains {{protected}} methods,
>  * {{BoxMullerLogNormalSampler}} is going to be flagged as {{@deprecated}} in the next release.
> Hence, I think that it is quite safe to release a 1.1 version (i.e. no change in major number!) despite this incompatibility.
> Please confirm.
> See also the [discussion on the "dev" ML|http://markmail.org/message/24t4v2bsh5x366fe].



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)