-
CSR
-
Resolution: Approved
-
P2
-
high
-
Applications have had a long time to migrate but we know its widely used.
-
Java API
-
JDK
Summary
Remove the non-standard com.sun.image.codec.jpeg APIs from JDK 9
Problem
https://bugs.openjdk.java.net/browse/JDK-6527962
removed the ability to compile against com.sun.image.codec.jpeg from JDK 7
That API was non-standard and was obsoleted by Image I/O in JDk 1.4
OpenJDK does not contain it.
JDK 7 docs warned it would be removed in JDK 8 but we did not get around to that.
For JDK 9 the module system would need to decide how to expose/export this.
The best thing to do is finally remove it. We already (many years ago) migrated all JDK internal uses of this API
Solution
remove the API itself and any remaining tests. Note that this does not affect open jdk (it was never there) and will so additionally reduce Oracle JDK/OpenJDK differences.
The replacement API was shipped in JDK 1.4 in 2002. If JDK 9 ships in 2016 that's a very generous 14 years to adopt it.
Specification
Remove the com.sun.image.codec.jpeg package.
- csr for
-
JDK-8038838 Totally remove all vestiges of com.sun.image.codec.jpeg from JDK 9
- Resolved