This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: do not throw UnsupportedOperationException from deprecated Thread methods


Thomas Fitzsimmons wrote:
Some old applets still call these methods and fail with UnsupportedOperationExceptions. This patch makes these deprecated methods simply return.

OK to commit?

Tom

2006-05-28 Thomas Fitzsimmons <fitzsim@redhat.com>

    * java/lang/natThread.cc (countStackFrames): Do not throw
    UnsupportedOperationException.
    (resume): Likewise.
    (stop): Likewise.
    (suspend): Likewise.


OK - but could you add comments saying the methods are unimplemented but still used by old applets?

Thanks

Bryce


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]