Brian Burkhalter
ae68be4a75
8146041: java.net.URLConnection.guessContentTypeFromStream() does not recognize TIFF streams
...
Add detection of TIFF magic numbers.
Reviewed-by: rriggs, chegar
2016-01-06 10:15:37 -08:00
Ramanand Patil
c31b3a5e83
8145388: URLConnection.guessContentTypeFromStream returns image/jpg for some JPEG images
...
Since "image/jpg" is not a valid Content Type, the method should return "image/jpeg" when APPn marker segment has 'EE' as a marker type.
Reviewed-by: prr, bpb
2015-12-25 16:45:15 +03:00
Roger Riggs
e15eefc7d7
8141652: Rename methods Objects.nonNullElse* to requireNonNullElse*
...
And some usages of replacing expr != null ? expr : otherexpr
Reviewed-by: jrose, chegar
2015-11-11 22:38:15 -05:00
Martin Buchholz
a2f0fe3c94
8136583: Core libraries should use blessed modifier order
...
Run blessed-modifier-order script (see bug)
Reviewed-by: psandoz, chegar, alanb, plevart
2015-09-15 21:56:04 -07:00
Pavel Rappo
91a4a6b0ce
8064925: URLConnection::getContent needs to be updated to work with modules
...
Reviewed-by: chegar, alanb
2015-07-10 16:40:12 +01:00
Chris Hegarty
3bc69d393d
8054834: Modular Source Code
...
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Alex Buckley <alex.buckley@oracle.com>
Co-authored-by: Erik Joelsson <erik.joelsson@oracle.com>
Co-authored-by: Jonathan Gibbons <jonathan.gibbons@oracle.com>
Co-authored-by: Karen Kinnear <karen.kinnear@oracle.com>
Co-authored-by: Magnus Ihse Bursie <magnus.ihse.bursie@oracle.com>
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Paul Sandoz <paul.sandoz@oracle.com>
Reviewed-by: alanb, chegar, ihse, mduigou
2014-08-17 15:54:13 +01:00