cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynaldo Porras (JIRA)" <>
Subject [jira] [Commented] (COCOON-2341) Use ImageIO instead of old com.sun.image.* package in ImageReader
Date Fri, 21 Feb 2014 22:29:23 GMT


Reynaldo Porras commented on COCOON-2341:

Thanks for looking at issue Francesco. What my patch fixes is the com.sun.image.* as in  COCOON-2327.
This only allows cocoon-core to compile for java 1.7 and still compile for java 1.4.

The "" is another issue which is not fixed in this patch.
I see there was an ticket opened for that COCOON-2339, but it does not look like it was solved
even though it is closed.

> Use ImageIO instead of old com.sun.image.* package in ImageReader
> -----------------------------------------------------------------
>                 Key: COCOON-2341
>                 URL:
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: * Cocoon Core
>    Affects Versions: 2.1.12
>            Reporter: Reynaldo Porras
>         Attachments: COCOON-2341.patch
> Classes from  sun.* should not be used as specified in:
> ImageIO is available since java 1.4. I have tested it using java 1.4  version and it
works. This change has already be implemented in cocoon 2.2.1 version as in:
> I have a patch which is pretty much the same as the one in COCOON-2327 only differences
are that import of SystemUtils is removed and It is not using generics to keep compatibility
with java 1.4.
> Additionally this change allows cocoon-core 2.1.13-dev to compile in java 1.7

This message was sent by Atlassian JIRA

View raw message