Accessing non visible class without addExports must always fail

XMLWordPrintable

      Recently we came across JDK-8367306, where the test HeaderButtonOverlayTest imports a non visible class without allowing the access through addExports file.
      The compilation of test HeaderButtonOverlayTest should fail without JDK-8367306.
      It seems the non visible class is becoming accessible to the test through class path.


            Assignee:
            Ambarish Rapte
            Reporter:
            Ambarish Rapte
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: