Return-Path: X-Original-To: apmail-cocoon-dev-archive@www.apache.org Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C2BA610D0E for ; Tue, 25 Feb 2014 14:40:29 +0000 (UTC) Received: (qmail 56339 invoked by uid 500); 25 Feb 2014 14:40:22 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 56210 invoked by uid 500); 25 Feb 2014 14:40:22 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 56169 invoked by uid 99); 25 Feb 2014 14:40:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Feb 2014 14:40:20 +0000 Date: Tue, 25 Feb 2014 14:40:20 +0000 (UTC) From: "Reynaldo Porras (JIRA)" To: dev@cocoon.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (COCOON-2341) Use ImageIO instead of old com.sun.image.* package in ImageReader MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/COCOON-2341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13911619#comment-13911619 ] Reynaldo Porras commented on COCOON-2341: ----------------------------------------- Thanks Francesco. I wanted to look at the Datasource issue last weekend but the weekend came too short. I'll take a look at the CaptchaReader and I'll send the patch here. > Use ImageIO instead of old com.sun.image.* package in ImageReader > ----------------------------------------------------------------- > > Key: COCOON-2341 > URL: https://issues.apache.org/jira/browse/COCOON-2341 > 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: > http://www.oracle.com/technetwork/java/faq-sun-packages-142232.html > 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: https://issues.apache.org/jira/browse/COCOON-2327 > 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 (v6.1.5#6160)