excalibur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petteri Räty (JIRA) <...@excalibur.apache.org>
Subject [jira] Commented: (EXLBR-34) excalibur-instrument-mgr-http uses com.sun.* classes
Date Thu, 22 Feb 2007 10:13:06 GMT

    [ https://issues.apache.org/jira/browse/EXLBR-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474962
] 

Petteri Räty commented on EXLBR-34:
-----------------------------------

Well Sun has EOLed 1.3 so I don't think people should be using it i production.

> excalibur-instrument-mgr-http uses com.sun.* classes
> ----------------------------------------------------
>
>                 Key: EXLBR-34
>                 URL: https://issues.apache.org/jira/browse/EXLBR-34
>             Project: Excalibur Components
>          Issue Type: Bug
>          Components: Instrumentation
>    Affects Versions: 2.1
>         Environment: Gentoo/Linux / FOSS stack
>            Reporter: Petteri Räty
>         Assigned To: Leif Mortenson
>
> FOSS implementations of Java don't use com.sun.* classes and they will also probably
go away from Sun JDK in 1.7 too. This is the output with sun-jdk-1.6:
> compile:
>     [mkdir] Created dir: /var/tmp/portage/dev-java/excalibur-instrument-2.1/work/excalibur-instrument-mgr-http-2.1/target/classes
>     [javac] Compiling 34 source files to /var/tmp/portage/dev-java/excalibur-instrument-2.1/work/excalibur-instrument-mgr-http-2.1/target/classes
>     [javac] /var/tmp/portage/dev-java/excalibur-instrument-2.1/work/excalibur-instrument-mgr-http-2.1/src/java/org/apache/excalibur/instrument/manager/http/FavIconHandler.java:20:
warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a
future release
>     [javac] import com.sun.image.codec.jpeg.JPEGCodec;
>     [javac]                                ^
>     [javac] /var/tmp/portage/dev-java/excalibur-instrument-2.1/work/excalibur-instrument-mgr-http-2.1/src/java/org/apache/excalibur/instrument/manager/http/FavIconHandler.java:21:
warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed
in a future release
>     [javac] import com.sun.image.codec.jpeg.JPEGEncodeParam;
>     [javac]                                ^
>     [javac] /var/tmp/portage/dev-java/excalibur-instrument-2.1/work/excalibur-instrument-mgr-http-2.1/src/java/org/apache/excalibur/instrument/manager/http/FavIconHandler.java:22:
warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed
in a future release
>     [javac] import com.sun.image.codec.jpeg.JPEGImageEncoder;
>     [javac]                                ^
>     [javac] /var/tmp/portage/dev-java/excalibur-instrument-2.1/work/excalibur-instrument-mgr-http-2.1/src/java/org/apache/excalibur/instrument/manager/http/SampleChartHandler.java:20:
warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a
future release
>     [javac] import com.sun.image.codec.jpeg.JPEGCodec;
>     [javac]                                ^
>     [javac] /var/tmp/portage/dev-java/excalibur-instrument-2.1/work/excalibur-instrument-mgr-http-2.1/src/java/org/apache/excalibur/instrument/manager/http/SampleChartHandler.java:21:
warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed
in a future release
>     [javac] import com.sun.image.codec.jpeg.JPEGEncodeParam;
>     [javac]                                ^
>     [javac] /var/tmp/portage/dev-java/excalibur-instrument-2.1/work/excalibur-instrument-mgr-http-2.1/src/java/org/apache/excalibur/instrument/manager/http/SampleChartHandler.java:22:
warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed
in a future release
>     [javac] import com.sun.image.codec.jpeg.JPEGImageEncoder;
>     [javac]                                ^
>     [javac] /var/tmp/portage/dev-java/excalibur-instrument-2.1/work/excalibur-instrument-mgr-http-2.1/src/java/org/apache/excalibur/instrument/manager/http/SampleChartHandler.java:235:
warning: com.sun.image.codec.jpeg.JPEGImageEncoder is Sun proprietary API and may be removed
in a future release
>     [javac]         JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder( os );
>     [javac]         ^
>     [javac] /var/tmp/portage/dev-java/excalibur-instrument-2.1/work/excalibur-instrument-mgr-http-2.1/src/java/org/apache/excalibur/instrument/manager/http/SampleChartHandler.java:235:
warning: com.sun.image.codec.jpeg.JPEGCodec is Sun proprietary API and may be removed in a
future release
>     [javac]         JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder( os );
>     [javac]                                    ^
>     [javac] /var/tmp/portage/dev-java/excalibur-instrument-2.1/work/excalibur-instrument-mgr-http-2.1/src/java/org/apache/excalibur/instrument/manager/http/SampleChartHandler.java:236:
warning: com.sun.image.codec.jpeg.JPEGEncodeParam is Sun proprietary API and may be removed
in a future release
>     [javac]         JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam( bi );
>     [javac]         ^
>     [javac] 9 warnings
>      [copy] Copying 2 files to /var/tmp/portage/dev-java/excalibur-instrument-2.1/work/excalibur-instrument-mgr-http-2.1/target/classes
>      [copy] Copying 2 files to /var/tmp/portage/dev-java/excalibur-instrument-2.1/work/excalibur-instrument-mgr-http-2.1/target/classes
> junit-present:
>      [echo] ================================= WARNING ================================
>      [echo] Junit isn't present in your ${ANT_HOME}/lib directory. Tests not executed.
>      [echo] ==========================================================================
> compile-tests:
> internal-test:
> test:
> jar:
>       [jar] Building jar: /var/tmp/portage/dev-java/excalibur-instrument-2.1/work/excalibur-instrument-mgr-http-2.1/target/excalibur-instrument-mgr-http-2.1.jar
> Grepping trunk:
> betelgeuse@pena /mnt/checkouts/excalibur-trunk $ grep com.sun -r .
> ./cornerstone/sockets/impl/src/java/org/apache/avalon/cornerstone/blocks/sockets/.svn/text-base/SSLFactoryBuilder.java.svn-base:
       java.security.Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider() );
> ./cornerstone/sockets/impl/src/java/org/apache/avalon/cornerstone/blocks/sockets/SSLFactoryBuilder.java:
       java.security.Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider() );
> ./containerkit/instrument/mgr-http/src/java/org/apache/excalibur/instrument/manager/http/.svn/text-base/FavIconHandler.java.svn-base:import
com.sun.image.codec.jpeg.JPEGCodec;
> ./containerkit/instrument/mgr-http/src/java/org/apache/excalibur/instrument/manager/http/.svn/text-base/FavIconHandler.java.svn-base:import
com.sun.image.codec.jpeg.JPEGEncodeParam;
> ./containerkit/instrument/mgr-http/src/java/org/apache/excalibur/instrument/manager/http/.svn/text-base/FavIconHandler.java.svn-base:import
com.sun.image.codec.jpeg.JPEGImageEncoder;
> ./containerkit/instrument/mgr-http/src/java/org/apache/excalibur/instrument/manager/http/.svn/text-base/SampleChartHandler.java.svn-base:import
com.sun.image.codec.jpeg.JPEGCodec;
> ./containerkit/instrument/mgr-http/src/java/org/apache/excalibur/instrument/manager/http/.svn/text-base/SampleChartHandler.java.svn-base:import
com.sun.image.codec.jpeg.JPEGEncodeParam;
> ./containerkit/instrument/mgr-http/src/java/org/apache/excalibur/instrument/manager/http/.svn/text-base/SampleChartHandler.java.svn-base:import
com.sun.image.codec.jpeg.JPEGImageEncoder;
> ./containerkit/instrument/mgr-http/src/java/org/apache/excalibur/instrument/manager/http/SampleChartHandler.java:import
com.sun.image.codec.jpeg.JPEGCodec;
> ./containerkit/instrument/mgr-http/src/java/org/apache/excalibur/instrument/manager/http/SampleChartHandler.java:import
com.sun.image.codec.jpeg.JPEGEncodeParam;
> ./containerkit/instrument/mgr-http/src/java/org/apache/excalibur/instrument/manager/http/SampleChartHandler.java:import
com.sun.image.codec.jpeg.JPEGImageEncoder;
> ./containerkit/instrument/mgr-http/src/java/org/apache/excalibur/instrument/manager/http/FavIconHandler.java:import
com.sun.image.codec.jpeg.JPEGCodec;
> ./containerkit/instrument/mgr-http/src/java/org/apache/excalibur/instrument/manager/http/FavIconHandler.java:import
com.sun.image.codec.jpeg.JPEGEncodeParam;
> ./containerkit/instrument/mgr-http/src/java/org/apache/excalibur/instrument/manager/http/FavIconHandler.java:import
com.sun.image.codec.jpeg.JPEGImageEncoder;
> Please use javax.imageio.plugins.jpeg so that your code can be used by more people.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@excalibur.apache.org
For additional commands, e-mail: dev-help@excalibur.apache.org


Mime
View raw message