Hi :)

On Fri, 29 Sep 2000, Ole Husgaard wrote:

> When I try to use java.lang.Integer for a primary
> key in a BMP entity bean, the verifier complains:
> 
> [Verifier] EntityExc: The primary key class must be a legal Value Type in RMI-IIOP.
> 
> But Integer looks to me like a legal RMI-IIOP value type.

Yes it is.


> When looking at the verifier code, it looks like this
> message comes because Integer does not have a no-argument
> constructor, but I don't think this is required.

The error message seems to be misleading. There is no check made here
to verify RMI-IIOP value types at all, and the RMI-IDL language mapping
does not require the class to have a no-args constructor.


> So the question is:
> Is this a bug in the verifier, or a bug in my perception?

You've got yourself a genuine, 100% home-grown, bug.

:)

-- Juha
 



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

Reply via email to