https://issues.apache.org/bugzilla/show_bug.cgi?id=48337

--- Comment #1 from [email protected] 2009-12-03 17:13:58 UTC ---
FWIW, the bug appears to be in SVGImageElementBridge.openStream() (line 409 on
the trunk):

   List mimeTypes = new ArrayList
            (ImageTagRegistry.getRegistry().getRegisteredMimeTypes());
   mimeTypes.add(MimeTypeConstants.MIME_TYPES_SVG);

Note that MIME_TYPES_SVG is an *array* of strings which is added directly to
the end of the list of mimeTypes. This explains the
"[Ljava.lang.String;@f429d7;" that I'm seeing in the Accept header.

I think the fix is simply to replace the add with:

   mimeTypes.addAll(Arrays.asList(MimeTypeConstants.MIME_TYPES_SVG));

Dave

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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]

Reply via email to