On 01/17/2014 12:25 PM, Volker Simonis wrote:
To avoid a mapping of the Java constants to the native ones every time we go from Java to Native and back, this change replaces the currently used constants with a single instance of constants which is placed in src/share/classes/sun/nio/ch/Net.java and which are dynamically initialized from native methods with the correct, platfrom-specific values.
Previously, the constants where inlined at the class file level. Is there a downside to not doing this?
-- Florian Weimer / Red Hat Product Security Team