JDK-8038838 : Totally remove all vestiges of com.sun.image.codec.jpeg from JDK 9
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-03-31
  • Updated: 2017-05-17
  • Resolved: 2014-05-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b15Fixed
Related Reports
CSR :  
Relates :  
Sub Tasks
JDK-8175545 :  
Description
https://bugs.openjdk.java.net/browse/JDK-6527962

removed the ability to compile against  com.sun.image.codec.jpeg from JDK 7

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.

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.
We already (many years ago) migrated all JDK internal uses of this API

So we just need to 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.