Name: skR10005 Date: 11/26/2003
The following JCK test is excluded with the bug 4226286 against test:
The API specification of method Thread.destroy reads:
"Destroys this thread, without any cleanup.
Any monitors it has locked remain locked.
(This method is not implemented.)"
Current RI implementation simply throws NoSuchMethodError.
This method should be implemented or removed from API specification.
This bug is filed to exclude old test with bug against RI because the test
follows API specification and is valid. So it cannot be excluded with the
bug against test.
Although API psecification contains the notice that
"(This method is not implemented.)"
it looks like this is not enough.
API specification normally specifies method behavior specification
for all conformant implementations.
But this phrase relates to just one (reference) implementation.
From compatibility point of view some java implementation may
implement this method and java application may work properly on
this platform and not work on RI.
Moreover this method is not deprecated and probably
it will be implemented in future.
So, my opinion is that this method should be implemented or
removed/deprecated from the spec.