https://issues.apache.org/bugzilla/show_bug.cgi?id=55484
Bug ID: 55484
Summary: The wrong usage of byte in RGB
Product: POI
Version: 3.9-dev
Hardware: All
OS: All
Status: NEW
Severity: critical
Priority: P2
Component: POI Overall
Assignee: [email protected]
Reporter: [email protected]
I found the bug when I used POI 3.7. I thought it must have been found, so I
did not report. Today, when I downloaded version 3.9, I found the bug was
still there.
The root of the bug is the wrong understanding of type "byte". The author
thought that "byte" is unsigned, so it was used to represent data range from 0
to 255, e.g. in file HSSFPalette.java, PaleteRecord.java, XSSFColor.java, and
even in the xmlschema generated code, etc. This results completely wrong
results.
This bug spreads in many places, I think this is serious. We'd better fix it in
the version 3.10. I don't have the source of xml schema, so I can not fix that
part. I wish somebody can coordinate this bug fixing.
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]