JDK-8175295 : Release Note: The lib/content-types.properties file has been removed
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2017-02-21
  • Updated: 2017-09-22
  • Resolved: 2017-04-25
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.
The `lib/content-types.properties` file has been removed from the Java run-time image. The `lib/content-types.properties` file contained the default MIME content-types table used to map content type to file extension, etc, and is used primarily by the URLConnection API. The `lib/content-types.properties` file was never intended to be user editable. Instead there is a system property, `content.types.user.table`, that allows one to define their own content types.

See JDK-8039362, for further details on the use of `content.types.user.table`.