At 21:52 17.10.2000 +0200, you wrote:
>> The verifier shouldn't barf on the Object[] return type. If it does,
>that's
>> a bug (it's not checking for Serializable, because as Aaron pointed out,
>> this is a runtime requirement, not compile time).
>>
>> There could be a problem with the other return classes though. I'll write
>a
>> test case for the Object[] return type and see what happens.
>
>IMHO this particular test is flawed in theory. It checks whether the return
>types are serializable. Well, that's not what matters. What matters is if
>the actual returned object is serializable, and that is not something you
>can detect by simply looking at the interface (e.g. a method may return a
>type that is not serializable, but the actual returned object may be
>serializable).

Yes, that's what I was trying to say.


>Because of this I would suggest that this check is either removed or a that
>something similar to the above is provided in the error message.

There isn't any such a check. If there is, it's a bug :)

-- Juha




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to