RFR (jaxp): Backport to jdk7u-dev of 8013900: More warnings compiling jaxp.

Daniel Fuchs daniel.fuchs at oracle.com
Thu May 30 10:37:16 UTC 2013


This is a request for review of the backport of
to jdk7u-dev.

The changeset for jdk7u-dev [1] had to be altered on one count
compared to the changes pushed in jdk8 [2]:

Since jaxp needs to be compiled using the bootstrap
compiler, it was not possible to use the new
JDK 7 java.util.Objects API.

In order to minimize the changes between the two
changesets - I added an Objects class emulating
the two 'hashCode' and 'equals' methods of java.util.Objects
in the util packages of Xerces, Xalan, and Bcel.

This way - the only thing that needed to change in the rest of
the files was the import clause of the Objects class.

Here is the altered changeset for jdk7u-dev:
[1] <http://cr.openjdk.java.net/~dfuchs/JDK-8013900/webrev-jdk7u-dev.00/>

Here is the changeset that was pushed in jdk8:
[2] <http://cr.openjdk.java.net/~dfuchs/JDK-8013900/webrev.01/>

-- daniel

Review for the original jdk8 changeset [2] happened on core-libs-dev:

More information about the core-libs-dev mailing list