[
https://issues.apache.org/jira/browse/WICKET-306?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585938#action_12585938
]
Juergen Donnerstag commented on WICKET-306:
-------------------------------------------
Has been fixed in Java 6
Bug ID: 6378911
Synopsis UTF-8 decoder handling of byte-order mark has changed
Category java:char_encodings
Reported Against b61 , 9.0pe_b32
Release Fixed mustang(b73)
> XML License Header Tests fail with Unicode BOM
> ----------------------------------------------
>
> Key: WICKET-306
> URL: https://issues.apache.org/jira/browse/WICKET-306
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Reporter: Jean-Baptiste Quenot
> Fix For: 1.4-M1
>
>
> License header tests use FileReader, which is subject to a JDK bug:
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4508058
> Namely, if the XML file is encoded using UTF-8 *and* has a BOM (this is
> optional), license check fails.
> We might integrate Unicode Reader from
> http://koti.mbnet.fi/akini/java/unicodereader/ provided that the license is
> ASL compatible.
> A workaround is to remove the optional Unicode BOM. I do that in Vim by
> using "set nobomb" and writing the file.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.