[fedora-java] Weird ecj + utf8 issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I came across a weird issue while trying to build rssowl.  I've attached
the test file.  Trying this works:

  ecj RSSOwlI18nZHtw.java

while this appears to hang:

  ecj -encoding utf8 RSSOwlI18nZHtw.java

I can reproduce this behaviour on both an x86 box running an Eclipse 3.1
ecj (built myself) and on a ppc box running Eclipse 3.1 RC3 (the RPMs we
have in rawhide).  Using Sun's javac (on the x86 box) does not hang when
I use "-encoding utf8".  All are FC4 machines (with gcc*-4.0.0-11 in the
x86 case and gcc*-4.0.0-13 in the ppc case).

To add to the bizarre-ness, this appears to be as small as I can make
the test file without it being unable to reproduce the problem; I can't
seem to remove any of the lines if I want to continue to reproduce.  In
another interesting twist, renaming the file (and class) to "TestUTF8"
does not reproduce the problem.

Anyone know what's going on?

Andrew
public class RSSOwlI18nZHtw {
  public static void Main(String[] args) {
//    translation.put("LABEL_BLOGGER_USAGE", "使用 [NEWSLINK], [FEEDLINK], [TITLE], [DESCRIPTION], [AUTHOR], [CATEGORY], [PUBDATE], [PUBLISHER] 和 [SOURCE] 作為新聞資訊的替代參數。");
//
//    /** Header */
//    translation.put("HEADER_NEWS", "新聞標題");
//
//    /** Tooltips */
//    translation.put("TOOLTIP_URLOPEN", "請點擊以開啟該網站");
//    translation.put("TOOLTIP_PRINT", "列印新聞");
//    translation.put("TOOLTIP_RATE", "請點擊以評等");
//    translation.put("TOOLTIP_GRAB_TITLE", "從 Newsfeed 取得標題");
//    translation.put("TOOLTIP_UNREAD_AVAILABLE", "有未閱讀的新聞");
//    translation.put("TOOLTIP_SKIP", "跳過");
//    translation.put("TOOLTIP_OPEN_TAB", "打開新分頁");
//    translation.put("TOOLTIP_QUICKSEARCH", "快速搜尋");
//
//    /** Tableheader */
//    translation.put("TABLE_HEADER_PUBDATE", "發佈日期");
//
//    /** Messagebox / Dialogs */
//    translation.put("MESSAGEBOX_TITLE_ATTENTION", "注意");
//
//    /** Update interval */
//    translation.put("UPDATE_INTERVAL_NO", "從不更新");
//    translation.put("UPDATE_INTERVAL_ONE", "1分鐘後");
//    translation.put("UPDATE_INTERVAL_FIVE", "5分鐘後");
//    translation.put("UPDATE_INTERVAL_FIFTEEN", "15分鐘後");
//    translation.put("UPDATE_INTERVAL_THIRTY", "30分鐘後");
//    translation.put("UPDATE_INTERVAL_ONEHOUR", "1小時後");
//    translation.put("UPDATE_INTERVAL_THREEHOURS", "3小時後");
//    translation.put("UPDATE_INTERVAL_SIXHOURS", "6小時後");
//    translation.put("UPDATE_INTERVAL_TWELVEHOURS", "12小時後");
//    translation.put("UPDATE_INTERVAL_ONEDAY", "24小時後");
//
//    /** Font Settings */
//    translation.put("FONT_AREA_TEXT", "文字區字型");
//
//    /** Browser */
//    translation.put("BROWSER_BACK", "上一頁");
//
//    /** AmphetaRate rating levels */
//    translation.put("RATE_FANTASTIC", "非常棒");
  }
}

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux