Add the declared interface to the speculative part of a ParmNode

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: hotspot

      In the signature of a method, an interface acts the same as a j.l.Object. This is because the verifier does not verify that the argument passed in actually implements the declared interface. However, this should be mostly true, and it may make sense to include the interface in the speculative part of the ParmNode. This may prove useful when we strengthen the type inference of the compiler with respects to interfaces.

            Assignee:
            Quan Anh Mai
            Reporter:
            Quan Anh Mai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: