Probably some methods can be made final also (at least setters and getters)?
because it always a problem when we validate something in the setter(constructor), but the user returns something unspecified from the overriden getter.

On 03.10.16 22:51, Brian Burkhalter wrote:
Good point. I think TIFFIFD needs to be a subclass therefore lets leave
TIFFDirectory as is.

Thanks,

Brian

On Oct 3, 2016, at 12:44 PM, Phil Race <philip.r...@oracle.com
<mailto:philip.r...@oracle.com>> wrote:

>  Question is whether TIFFDirectory might be made final as well.

com.sun.imageio.plugins.tiff.TIFFIFD extends TIFFDirectory so that
is more than a case of marking it final.
Therefore it at least depends on whether you think that internal subclass
really needs to be a subclass ?



--
Best regards, Sergey.

Reply via email to