tom tromey - patch: fyi: fix for pr 4859
tom tromey - patch: fyi: fix for pr 4859
this is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the java project.
index nav:
[date index] [subject index] [author index] [thread index]
message nav:
[date prev] [date next]
[thread prev] [thread next]
other format:
[raw text]
patch: fyi: fix for pr 4859
to: java patch list <java-patches at gcc dot gnu dot org>
subject: patch: fyi: fix for pr 4859
from: tom tromey <tromey at redhat dot com>
date: 13 nov 2001 16:31:55 -0700
reply-to: tromey at redhat dot com
i'm checking this in.
this fixes pr 4859.
i've already committed this to classpath.
tom
index: changelog
from tom tromey <tromey@redhat.com>
fix for pr libgcj/4859:
* java/util/timer.java (taskqueue.isstopped): new method.
(scheduler.run): don't re-schedule task if queue has been
stopped.
index: java/util/timer.java
===================================================================
rcs file: /cvs/gcc/gcc/libjava/java/util/timer.java,v
retrieving revision 1.3
diff -u -r1.3 timer.java
--- java/util/timer.java 2001/10/31 00:48:17 1.3
+++ java/util/timer.java 2001/11/13 23:07:37
@@ -285,6 +285,14 @@
this.notify();
}
+ /**
+ * this method returns <code>true</code> if the queue has been
+ * stopped.
+ */
+ public synchronized boolean isstopped ()
+ {
+ return this.heap == null;
+ }
} // taskqueue
/**
@@ -337,8 +345,9 @@
}
}
- // calculate next time and possibly re-enqueue
- if (task.scheduled >= 0)
+ // calculate next time and possibly re-enqueue.
+ // don't bother re-scheduling if the queue has been stopped.
+ if (! queue.isstopped () && task.scheduled >= 0)
{
if (task.fixed)
{
follow-ups:
re: patch: fyi: fix for pr 4859
from: mark wielaard
index nav:
[date index] [subject index] [author index] [thread index]
message nav:
[date prev] [date next]
[thread prev] [thread next]
Acceuil
suivante
tom tromey - patch: fyi: fix for pr 4859 Multi-Fix N.V. - Professional Signmaking Films signmaking vinyl ... Flickr: FIX MY PIC The Fix (Heroes) - Wikipedia, the free encyclopedia Daily Funny Fix / Media Dent Fix Equipment HTML FIX IT.COM: A site with free scripts, advanced scripts ... Blog de jan-fix - jan-fix.skyblog.com - Skyrock.com Decapitation Victim Tries To Fix Eyes - Health News Story - KGTV ... Robert M. Ball - A Social Security Fix For 2008 - washingtonpost.com Télécharger 433 eros fix up jamendo mp3 vbr 192k 2006 02 07 www ... Lèvres Fix'Intense Tenue 10 h Brillance Ambre - Rouge à Lèvres ... Mac Rumors: Apple Acknowledges iMac Freezing Issue, Fix In Works Adobe - Photoshop : For Macintosh : Mac OS X Keyboard Shortcut Fix Annonces.com : Pc fix *neuf* acer acerpower fh - celeron d 360 ... XML.com: Using XSLT to Fix Swing Blog de giangi-fix - gian - Skyrock.com coding... and other random stuff - home of Bingo Caller Balai FIX-O-MAT Le balai - Webmarchand.com How to fix the Firefox memory leak (Firefox hack) « Internet Duct Tape FixTheLogo.com: Sports cherche board + fix pas cher ->plus2sport.com Traduction de la liste des fix 7.0.2 - Football Manager 2007 sur ... MG WinSock XP Fix 1.2 Welkom op de Homepage van C-Fix Hard Drive Data Recovery Software - Hard Drive Repair Is Easy With ... SPACE.com -- Astronauts Ready for Space Station Fix serious fix 4.1 Lispmeister.com Free advice on how to fix your bicycle いろんな言語でmemoizeとfix - メモ化と最小不動点の話題 Patch: fix for PR java.lang/339 Video: Your daily Tesla fix! - AutoblogGreen Traduction Garbage Fix Me Now lyrics - musique traduite Futurist: To fix education, think Web 2.0 Tech News on ZDNet Eric's Archived Thoughts: Framework Fix Clean PC Software :: Registry Fix It!, Error Scan and Fix, Free ... : : RegistrySmart : : NASA delays spacewalk to fix solar wing International Reuters NT4.0 too flawed to fix – official The Register Encyclopédie méthodique, ou par ordre de matières - Résultats Google Recherche de Livres Credit Repair by Credit Clean Help Repair Bad Debts :: SUSHI FIX RESTAURANTS :: WELCOME Fix Blogger Sitemap XML Warnings Inside Google Webmaster at ... fix tps Fix APO ? - forum Snowboard Deeper level of interest in climate fix csmonitor.com Aural Fix Communique Online SIGN FIX sur SOCIETE.COM EAZ-FIX, Instantly undo your PC problems 'Fix' is finished :: CHICAGO SUN-TIMES :: Robert Feder fix - Synonyms from Thesaurus.com How to fix the GST mistake Teardrop Parts Linux.com :: DRAM Pricing: The Fix Is In Journal de physique, de chimie, d'histoire naturelle et des arts ... - Résultats Google Recherche de Livres Gaufrey: Chanson de Geste - Résultats Google Recherche de Livres [Profil de fix] OverBlog - Le blog des blogs [Profil de Fix] OverBlog - Le blog des blogs Contes de Guillaume Vadé - Résultats Google Recherche de Livres Sur le compte rendu au Roi en 1781: Nouveaux éclaircissemens - Résultats Google Recherche de Livres