[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug swing/27393] JTextArea.setText("") hangs.
From: |
audriusa at bluewin dot ch |
Subject: |
[Bug swing/27393] JTextArea.setText("") hangs. |
Date: |
3 May 2006 08:23:29 -0000 |
------- Comment #5 from audriusa at bluewin dot ch 2006-05-03 08:23 -------
Created an attachment (id=11363)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11363&action=view)
Proposed fix of th endless loop
This patch fixes the Protege hanging problem that happens because it appears
that currLineStart == currLineEnd, hence the (pos >= currLineStart && (pos <
currLineEnd) is never satisfied and the loop does not exit. In the first
version of the file, this case was handled by the additional condition:
if (pos >= currLineStart && pos < currLineEnd || pos == end - 1)
This condition was removed in the later versions, fixing PR #2667. Indeed, just
reverting to the older version restored that bug! Hence the new patch is a
little bit different. With this path, both #2667 remains fixed and Protege does
not hang.
2006-05-03 Audrius Meskauskas <address@hidden>
* javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
Do not check pos < currLineEnd if currLineStart == currLineEnd.
--
audriusa at bluewin dot ch changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|roman at kennke dot org |audriusa at bluewin dot ch
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27393
- [Bug swing/27393] New: JTextArea.setText("") hangs., audriusa at bluewin dot ch, 2006/05/02
- [Bug swing/27393] JTextArea.setText("") hangs., thebohemian at gmx dot net, 2006/05/02
- [Bug swing/27393] JTextArea.setText("") hangs., audriusa at bluewin dot ch, 2006/05/03
- [Bug swing/27393] JTextArea.setText("") hangs., audriusa at bluewin dot ch, 2006/05/03
- [Bug swing/27393] JTextArea.setText("") hangs., audriusa at bluewin dot ch, 2006/05/03
- [Bug swing/27393] JTextArea.setText("") hangs.,
audriusa at bluewin dot ch <=
- [Bug swing/27393] JTextArea.setText("") hangs., thebohemian at gmx dot net, 2006/05/03
- [Bug swing/27393] JTextArea.setText("") hangs., cvs-commit at developer dot classpath dot org, 2006/05/03
- [Bug swing/27393] JTextArea.setText("") hangs., thebohemian at gmx dot net, 2006/05/03
- [Bug swing/27393] JTextArea.setText("") hangs., thebohemian at gmx dot net, 2006/05/03
- [Bug swing/27393] JTextArea.setText("") hangs., audriusa at bluewin dot ch, 2006/05/04
- [Bug swing/27393] JTextArea.setText("") hangs., audriusa at bluewin dot ch, 2006/05/04
- [Bug swing/27393] JTextArea.setText("") hangs., gnu_andrew at member dot fsf dot org, 2006/05/07