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

Update test/jdk/asm/AsmSanity.java with modules

XMLWordPrintable

    • b167

        This test needs to be re-examined when modular boundaries are enforced. javac will fail compilation if a test accesses internal API. ct.sym no longer exists in jdk9.

         * - Verify that asm is not in ct.sym so user code that refs it won't compile.
         * - Verify that asm really is in rt.jar and can be accessed when ct.sym is not used.
         * - Verify that if user code is compiled without ct.sym, it can't access asm classes
         * at runtime when a security manager is in use.

        This test might not be needed.

              ksrini Kumar Srinivasan
              mchung Mandy Chung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: