Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8361215

Add AOT test case: verification constraint classes are excluded

XMLWordPrintable

    • b05

        If the AOT cache contains a class like this:

        class A {
            X foo() {
                return new Y();
            }
        }

        A will be stored with the following verification constraint:

            X must be a supertype of Y

        This constraint is checked when class A is linked.

        We should add a test case for this scenario to make sure it works properly even when X and/or Y are excluded from the AOT cache.

              iklam Ioi Lam
              iklam Ioi Lam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: