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

Accessing non visible class without addExports must always fail

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • jfx26
    • javafx

      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.


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

              Created:
              Updated: