Browse Source

Deprecate Image task

master
Gintas Grigelionis 7 years ago
parent
commit
c9025be06f
2 changed files with 7 additions and 0 deletions
  1. +4
    -0
      WHATSNEW
  2. +3
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/image/Image.java

+ 4
- 0
WHATSNEW View File

@@ -26,6 +26,10 @@ Changes that could break older environments:
* The Log4jListener is marked as deprecated as the required log4j library
(in version 1.x) is not maintained any more.

* Image task is marked as deprecated as the required JAI library is not
maintained any more and internal APIs that JAI depended on are no longer
available in Java 9.

Fixed bugs:
-----------



+ 3
- 0
src/main/org/apache/tools/ant/taskdefs/optional/image/Image.java View File

@@ -53,9 +53,12 @@ import com.sun.media.jai.codec.FileSeekableStream;
* href="http://java.sun.com/products/java-media/jai/forDevelopers/jai1_0_1guide-unc/">
* JAI Programming Guide</a>.
*
* @deprecated JAI is not developed any more. Internal APIs that JAI depends on were
* scheduled for removal in Java 7 and finally removed in Java 9.
* @see org.apache.tools.ant.types.optional.image.ImageOperation
* @see org.apache.tools.ant.types.DataType
*/
@Deprecated
public class Image extends MatchingTask {
// CheckStyle:VisibilityModifier OFF - bc
protected Vector<ImageOperation> instructions = new Vector<>();


Loading…
Cancel
Save