Hello Jens,

welcome to the ML. It is good style to prefix emails with the short name of
the component they are about. So since you have a question about commons
lang you should put the [LANG] prefix in the subject line (I've done it in
this response).

Now to your question: TBH I don't really know :-) Can anybody else help?
Hen? Matt?

If your looking for material about binary compatibility, you should read
http://wiki.eclipse.org/Evolving_Java-based_APIs It provides a good
overview over the topic.

Regards,
Benedikt


2013/10/15 Jens Dietrich <j.b.dietr...@massey.ac.nz>

> Hi,
>
> I have a quick question regarding the use of constants in Apache Commons -
> in some classes/interfaces like org.apache.commons.lang.math.NumberUtils
> some constants are defined using wrapper types and not primitive types.
> What are the reasons for this?
>
> The background of my question is that I am doing some research on binary
> vs source compatibility in Java. One such issue is constant inlining, and I
> try to find out whether engineers consciously use wrapper types to prevent
> inlining.
>
> Cheers, Jens
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter

Reply via email to