Re: JDK-8274735, JPEG compression in a TIFF container, openjdk/jdk/pull/7849

2022-05-20 Thread Brett Okken
JPEG support for RGB with transparency/alpha channel is pretty spotty. https://stackoverflow.com/a/57626892/676877 On Fri, May 20, 2022 at 8:12 AM Michal Karm wrote: > I stepped the flow in a debugger and I narrowed > down the reproducer to a more focused, simpler > description and test data: >

Re: RFR: 8273581: Change the mechanism by which JDK loads the platform-specific FontManager class [v3]

2021-09-20 Thread Brett Okken
On Mon, 20 Sep 2021 16:58:49 GMT, Sergey Bylokhov wrote: >> Does that stack trace difference really matter? >> if so, you could wrap the `return FontManagerHolder.instance;` in a >> try/catch that throws that caused by: >> >> >> try { >> return FontManagerHolder.instance; >> } catch (java.la

Re: RFR: 8273581: Change the mechanism by which JDK loads the platform-specific FontManager class [v3]

2021-09-20 Thread Brett Okken
On Mon, 20 Sep 2021 11:27:32 GMT, Alexander Scherbatiy wrote: >> The SunFontManager constructor and its subclasses seem too big, and >> potentially throw some exceptions and this will ruin the holder idiom since >> all subsequent calls to this method will fail. > > I wrote a simple example whi

Re: RFR: 8273581: Change the mechanism by which JDK loads the platform-specific FontManager class [v6]

2021-09-20 Thread Brett Okken
On Mon, 20 Sep 2021 11:26:13 GMT, Alexander Scherbatiy wrote: >> FontManagerFactory class uses reflection to load platform specific >> FontManager classes from "sun.font.fontmanager" property. >> >> Fix proposes creating FontManager platform specific classes directly in the >> similar way as