Author: olegk
Date: Tue Aug 8 15:06:09 2006
New Revision: 429849
URL: http://svn.apache.org/viewvc?rev=429849&view=rev
Log:
Fix for [HTTPCLIENT-594]: HttpMethodBase#aborted variable mistakenly declared
transient instead of volatile
Contributed by Oleg Kalnichevski
Reviewed by Ortwin Glück and Roland Weber
Modified:
jakarta/commons/proper/httpclient/trunk/release_notes.txt
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/HttpMethodBase.java
Modified: jakarta/commons/proper/httpclient/trunk/release_notes.txt
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/httpclient/trunk/release_notes.txt?rev=429849&r1=429848&r2=429849&view=diff
==============================================================================
--- jakarta/commons/proper/httpclient/trunk/release_notes.txt (original)
+++ jakarta/commons/proper/httpclient/trunk/release_notes.txt Tue Aug 8
15:06:09 2006
@@ -1,3 +1,10 @@
+-------------------
+Changes since Release 3.1 Alpha 1:
+
+* [HTTPCLIENT-594] - HttpMethodBase#aborted variable was declared transient
instead of volatile
+ by mistake.
+ Contributed by Oleg Kalnichevski <olegk at apache.org>
+
Release 3.1 Alpha 1
-------------------
New features:
Modified:
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/HttpMethodBase.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/HttpMethodBase.java?rev=429849&r1=429848&r2=429849&view=diff
==============================================================================
---
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/HttpMethodBase.java
(original)
+++
jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/HttpMethodBase.java
Tue Aug 8 15:06:09 2006
@@ -175,7 +175,7 @@
protected HttpVersion effectiveVersion = null;
/** Whether the execution of this method has been aborted */
- private transient boolean aborted = false;
+ private volatile boolean aborted = false;
/** Whether the HTTP request has been transmitted to the target
* server it its entirety */
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]