Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

According to the Java API, interface Statement documentation [API 2006]

By default, only one ResultSet object per Statement object can be open at the same time. As a result, if the reading of one ResultSet object is interleaved with the reading of another, each must have been generated by different Statement objects.

...

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

THI04-J

Low

Probable

Medium

P4

L3

Bibliography

[API 2006]

Class Thread, method stop, interface ExecutorService

[Darwin 2004]

24.3, Stopping a Thread

[JDK7 2008]

Java Thread Primitive Deprecation

[JPL 2006]

14.12.1, Don't Stop; 23.3.3, Shutdown Strategies

[JavaThreads 2004]

2.4, Two Approaches to Stopping a Thread

[Goetz 2006]

Chapter 7, Cancellation and Shutdown

...