RFR: (jaxp) 8003261 : static field is public but not final

Joe Wang huizhe.wang at oracle.com
Tue Dec 18 17:21:42 UTC 2012

On 12/18/2012 12:55 AM, David Holmes wrote:
> Joe,
> On 18/12/2012 6:47 PM, Joe Wang wrote:
>> Hi,
>> This is the 2nd of the three [findbug] issues. The field fVersion is
>> simply made final.
>> webrev:
>> http://cr.openjdk.java.net/~joehw/jdk8/8003261/webrev/
> Obviously it was known that this was a potential problem as we have 
> fImmutableVersion. So fImmutableVersion is now redundant with this fix.
> I assume changing the public API has the appropriate approvals?

This is Xerces implementation specific, used internally in Xerces' build 
system, although users may also use it to show the version of the 
implementation.  For JDK/JAXP, it is not considered a public API.


> David
>> Test:
>> No new test needed.
>> Thanks,
>> Joe

More information about the core-libs-dev mailing list