Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-652

HINT: Type cast is too strong is disabled by default. Requires enabling for test to pass.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 9.0
    • None
    • java - Hints
    • None

    Description

      Test specification: http://netbeans-vm.apache.org/synergy/client/app/#/specification/350

      Test Suite: http://netbeans-vm.apache.org/synergy/client/app/#/suite/2016/v/1

      Test case: http://netbeans-vm.apache.org/synergy/client/app/#/case/4989/suite/-1/v/1

      steps to reproduce

      1. Download & extract the attached project in above specification (JavaHInts.zip)
      2. Start Netbeans with a clean user and cache dir
      3. Open the extracted project (Java Hints)
      4. From the project view|src open the class from abstraction.TypeCastIsTooStrong.java
      5. Place cursor on line 8
      6. Press Alt-enter (ctrl-enter on mac)

      Expected result:

      Hint: Hint Type Cast is too strong is shown

      Actual Result: The hint is not shown

       

      Reason: Hint OPtions|Editor|Hints|Abstraction|Type Cast is too strong is disabled by default.

      After enabling, the hint is shown properly.

      Attachments

        1. No-hashmap-hint.png
          629 kB
          Manikantan Narender Nath

        Activity

          People

            Unassigned Unassigned
            manikantannaren Manikantan Narender Nath
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: