hg: valhalla/valhalla/langtools: Add support for tracking 'any'-related opcodes

Paul Benedict pbenedict at apache.org
Thu Jul 24 20:55:56 UTC 2014


On Thu, Jul 24, 2014 at 3:33 PM, John Rose <john.r.rose at oracle.com> wrote:

> On Jul 24, 2014, at 6:21 AM, Maurizio Cimadamore <
> maurizio.cimadamore at oracle.com> wrote:
>
> For now the designated box for a primitive (e.g., int) can be a wrapper
> (java.lang.Integer).  In the real system, we have discussed building new
> box types for this purpose (java.lang.'int', etc.).  (...Waving target type
> magic at it, of course, to dispel compatibility bogies.)
>
>
John, I'd like to hear more about that, if you're so inclined to share. It
peeks my interest because new box types were part of my poor-man proposal
on the platform-jep-discuss list. I was thinking the new types would be
pure singletons while the current wrappers would continue to be prototypes.
Additionally, if desired, both sets of wrappers could share a common
interface for programming ease too. Is that at all similar to what you're
internally discussing?

Paul



More information about the valhalla-dev mailing list