RFR: 6185110: Undefined behaviour of SampleModel for width, height < 0

Sergey Bylokhov serb at openjdk.org
Wed Oct 22 23:54:49 UTC 2025


On Thu, 16 Oct 2025 19:20:21 GMT, Phil Race <prr at openjdk.org> wrote:

>That would not help. In fact it makes it harder.

I tried building this method without any additional Javadoc, using only @Override to highlight that it overrides the parent method. The generated Javadoc for ComponentSampleModel does not include a separate description of getPixel, but instead provides a link to the inherited method in the parent class, which contains all the relevant information. Isn’t this exactly the behavior we want to achieve?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/27754#issuecomment-3434584012


More information about the client-libs-dev mailing list