XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.0-alpha1, 4.0
    • None

    Description

      CASSANDRA-9425 commit triggered a few eclipse-warnings on http://cassci.datastax.com/job/trunk_eclipse-warnings/1181/

      cc: iamaleksey

      23:50:23 eclipse-warnings:
      23:50:23     [mkdir] Created dir: /var/lib/jenkins/jobs/trunk_eclipse-warnings/workspace/build/ecj
      23:50:23      [echo] Running Eclipse Code Analysis.  Output logged to /var/lib/jenkins/jobs/trunk_eclipse-warnings/workspace/build/ecj/eclipse_compiler_checks.txt
      23:50:34      [java] ----------
      23:50:34      [java] 1. ERROR in /var/lib/jenkins/jobs/trunk_eclipse-warnings/workspace/src/java/org/apache/cassandra/cache/OHCProvider.java (at line 138)
      23:50:34      [java] 	throw new RuntimeException(e);
      23:50:34      [java] 	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      23:50:34      [java] Potential resource leak: 'dataOutput' may not be closed at this location
      23:50:34      [java] ----------
      23:50:34      [java] 2. ERROR in /var/lib/jenkins/jobs/trunk_eclipse-warnings/workspace/src/java/org/apache/cassandra/cache/OHCProvider.java (at line 159)
      23:50:34      [java] 	throw new RuntimeException(e);
      23:50:34      [java] 	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      23:50:34      [java] Potential resource leak: 'dataInput' may not be closed at this location
      23:50:34      [java] ----------
      23:50:34      [java] 3. ERROR in /var/lib/jenkins/jobs/trunk_eclipse-warnings/workspace/src/java/org/apache/cassandra/cache/OHCProvider.java (at line 163)
      23:50:34      [java] 	return new RowCacheKey(tableId, indexName, key);
      23:50:34      [java] 	^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      23:50:34      [java] Potential resource leak: 'dataInput' may not be closed at this location
      23:50:34      [java] ----------
      23:50:34      [java] 3 problems (3 errors)
      23:50:34 
      23:50:34 BUILD FAILED
      

      Attachments

        Issue Links

          Activity

            People

              snazy Robert Stupp
              mshuler Michael Shuler
              Robert Stupp
              Aleksey Yeschenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: