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

[TESTBUG] EmptyPath::toString is ignored

XMLWordPrintable

    • master

      EmptyPath.toString() returns a String, thus we get the following warning from JUnit while executing it:

      (1) [WARNING] @Test method 'public java.lang.String EmptyPath.toString()' must not return a value. It will not be executed.
          Source: MethodSource [className = 'EmptyPath', methodName = 'toString', methodParameterTypes = '']
                  at EmptyPath.toString(SourceFile:0)

            fandreuzzi Francesco Andreuzzi
            fandreuzzi Francesco Andreuzzi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: