Hello, community!

Is java.awt.Graphics not a candidate for AutoCloseable?

In most cases, a Graphics object has to be dispose()'d at the end.
Couldn't it be extended with close() which would be a delegate to dispose()?

Best regards,
Ivan G Shevchenko

Reply via email to