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

ModuleDescriptor.read does not verify dependence on java.base in module-info.class

XMLWordPrintable

      JDK 9 build 120
      JCK 9 build 38

      Negative test: accmod00601m3 that tests the assertion "the requires_count is > 0 for all modules except "java.base"" does not fail as expected
      Test Description: Negative ( no java.base ) test: The module "module003" with the requires table:
      1 requires public module00N
      Expected behavior is FormatError should be thrown

            alanb Alan Bateman
            lkuskov Leonid Kuskov
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: