Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-4408

no compile time error when autowired annotation is not used and reference of that class is used to call method of that class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 3.8.2.RELEASE
    • Fix Version/s: 3.8.3.RELEASE
    • Component/s: EDITING, MAVEN
    • Labels:
    • Environment:
      windows 10

      Description

      steps to reproduce:-
      1.create an interface (ex inf)
      2.create a class(ex con) that implements interface.
      3.create a class(ex con2).
      4.Declare a reference(ex ref)of con in con2 without using autowire annotation.
      5.use ref to call method of con

      Expected result:-Complile time error should show when calling con class method using ref.

      Actual result:- No Complile time error is showing when calling con class method using ref.

        Attachments

          Activity

            People

            Assignee:
            mlippert Martin Lippert
            Reporter:
            triples13 Shashank
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: