On Wed, 25 Jan 2023 00:13:02 GMT, Sergey Bylokhov <[email protected]> wrote:
> I do not think that this method should/must be used by custom L&F only, it is > a way to provide custom styles for an existing L&f including Nimbus like > discussed here: > https://stackoverflow.com/questions/11564597/how-to-use-synthlookandfeel-with-xml-file-where-xml-file-path-will-load-the-fil > There is a way to check the permission - security manager, ohh we deprecated > it as well, time to rethink that? or do we plan to delete all methods which > use URL, or add custom properties here and there to check access? Who knows, we may deprecate more methods when there's a good reason, but this one regardless of whether it is the sole source of styles for a Synth L&F or customisation is a prime candidate for deprecation and subsequent removal. ------------- PR: https://git.openjdk.org/jdk/pull/12175
