You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2015/05/07 15:16:38 UTC
[Bug 57898] New: Fix for #50786 breaks API of
HSSFColor.getIndexHash()
https://bz.apache.org/bugzilla/show_bug.cgi?id=57898
Bug ID: 57898
Summary: Fix for #50786 breaks API of HSSFColor.getIndexHash()
Product: POI
Version: 3.8-FINAL
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
Assignee: dev@poi.apache.org
Reporter: tobias.gruetzmacher@inform-software.com
The fix commited for bug #50786 (r1077920) changes the return value of
HSSFColor.getIndexHash() from java.util.Hashtable to java.util.Map.
This breaks libraries that used the old return value and are built against POI
3.6 and run with POI 3.9 (in my case):
java.lang.NoSuchMethodError:
org.apache.poi.hssf.util.HSSFColor.getIndexHash()Ljava/util/Hashtable;
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
[Bug 57898] Fix for #50786 breaks API of HSSFColor.getIndexHash()
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=57898
Nick Burch <ap...@gagravarr.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
OS| |All
Resolution|--- |WONTFIX
Status|NEW |RESOLVED
--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
I'm not sure we're going to be able to fix this, sorry. Having a Hashtable as a
return type isn't ideal, Map is generally cleaner. Additionally, the change
occurred over 4 years ago, so large numbers of people will have written /
updated their code to the new signature, which means a change back would affect
too many people
POI 3.6 is getting on for 6 years old now! Anything using that really really
ought to be upgraded to something more modern, just see
http://poi.apache.org/changes.html#3.6 for an idea of the features and bug
fixes since then
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org