Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 62995 Details for
Bug 180871
[Forms] Help > Software Updates > Manage Configuration will fail.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
a really ad-hoc patch to work around this problem.
patch.txt (text/plain), 1.34 KB, created by
Atsuhiko Yamanaka
on 2007-04-04 22:39:01 EDT
(
hide
)
Description:
a really ad-hoc patch to work around this problem.
Filename:
MIME Type:
Creator:
Atsuhiko Yamanaka
Created:
2007-04-04 22:39:01 EDT
Size:
1.34 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.forms >Index: src/org/eclipse/ui/internal/forms/widgets/TextSegment.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.forms/src/org/eclipse/ui/internal/forms/widgets/TextSegment.java,v >retrieving revision 1.24 >diff -u -r1.24 TextSegment.java >--- src/org/eclipse/ui/internal/forms/widgets/TextSegment.java 16 Mar 2007 20:24:02 -0000 1.24 >+++ src/org/eclipse/ui/internal/forms/widgets/TextSegment.java 5 Apr 2007 02:36:22 -0000 >@@ -12,6 +12,7 @@ > > import java.util.ArrayList; > import java.util.Hashtable; >+import java.util.Locale; > import java.util.Vector; > > import org.eclipse.swt.SWT; >@@ -700,7 +701,18 @@ > if (textFragments != null) > return; > ArrayList list = new ArrayList(); >- BreakIterator wb = BreakIterator.getLineInstance(); >+ BreakIterator wb = null; >+ try{ >+ wb = BreakIterator.getLineInstance(); >+ } >+ catch(java.util.MissingResourceException e){ >+ // com.ibm.icu.util.ULocale is not accessible, >+ // so I must use Locale.setDefault(), ;-( >+ Locale defaultLocale = Locale.getDefault(); >+ Locale.setDefault(Locale.ENGLISH); >+ wb = BreakIterator.getLineInstance(); >+ Locale.setDefault(defaultLocale); >+ } > wb.setText(getText()); > int cursor = 0; > for (int loc = wb.first(); loc != BreakIterator.DONE; loc = wb.next()) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 180871
: 62995