]
Andrew Lee Rubinger resolved SHRINKWRAP-38.
-------------------------------------------
Fix Version/s: 0.1.0
Resolution: Done
ByteArrayAsset may export internal state
----------------------------------------
Key: SHRINKWRAP-38
URL:
https://jira.jboss.org/jira/browse/SHRINKWRAP-38
Project: ShrinkWrap
Issue Type: Bug
Components: impl-base
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
Fix For: 0.1.0
Must copy the byte array passed into the ctor, else clients may mutate the state. Found
by FindBugs:
new org.jboss.shrinkwrap.impl.base.asset.ByteArrayAsset(byte[]) may expose internal
representation by storing an externally mutable object into ByteArrayAsset.content
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: