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

Javac doesn't report errors on service implementation which cannot be initialized

XMLWordPrintable

       Javac doesn't report errors if type is abstract, or does not have a public no-args constructor, or is an inner class.

      Example:
      module m { provides p1.Service with p2.Impl; }
      package p1; public interface Service { }
      package p2; public interface Impl extends p1.Service { }

            vromero Vicente Arturo Romero Zaldivar
            anazarov Andrey Nazarov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: