Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212935 - dev-java/xmlgraphics-commons-1.2 uses com.sun. classes
Summary: dev-java/xmlgraphics-commons-1.2 uses com.sun. classes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on: 202775 255649
Blocks: 149435
  Show dependency tree
 
Reported: 2008-03-10 13:08 UTC by Petteri Räty (RETIRED)
Modified: 2015-07-12 13:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2008-03-10 13:08:06 UTC
compile-java:
    [mkdir] Created dir: /var/tmp/portage/dev-java/xmlgraphics-commons-1.2/work/xmlgraphics-commons-1.2/build/classes
    [javac] Compiling 145 source files to /var/tmp/portage/dev-java/xmlgraphics-commons-1.2/work/xmlgraphics-commons-1.2/build/classes
    [javac] /var/tmp/portage/dev-java/xmlgraphics-commons-1.2/work/xmlgraphics-commons-1.2/src/java/org/apache/xmlgraphics/image/codec/tiff/TIFFEncodeParam.java:27: package com.sun.image.codec.jpeg does not exist
    [javac] import com.sun.image.codec.jpeg.JPEGEncodeParam;
Comment 1 Bastiaan Visser 2008-03-10 16:55:18 UTC
what JDK / JRE are you using ?

com.sun.image.codec.jpeg is a package included in the sun JRE, but not an official part of the java platform. 

(not sure if there is any lib with com.sun.image.codec.jpeg included)
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2008-03-10 18:49:05 UTC
(In reply to comment #1)
> what JDK / JRE are you using ?
> 

sun-jdk-1.7 early builds
Comment 3 Andrew John Hughes 2009-01-19 20:57:34 UTC
com.sun.image.codec.jpeg has been dropped in 1.7.
From the 1.3.1 ebuild of xmlgraphics I guess upstream has fixed this.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2009-01-20 15:46:23 UTC
(In reply to comment #3)
> com.sun.image.codec.jpeg has been dropped in 1.7.
> From the 1.3.1 ebuild of xmlgraphics I guess upstream has fixed this.
> 

Yeah that's goign stable and then we just have to get a newer fop in the tree and stable
Comment 5 Petteri Räty (RETIRED) gentoo-dev 2009-01-20 16:28:07 UTC
(In reply to comment #3)
> com.sun.image.codec.jpeg has been dropped in 1.7.
> From the 1.3.1 ebuild of xmlgraphics I guess upstream has fixed this.
> 

It's optional it seems:
./work/xmlgraphics-commons-1.3.1/build.xml:    <available property="sun.jpeg.present" classname="com.sun.image.codec.jpeg.JPEGCodec"/>
Comment 6 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-05-22 22:32:20 UTC
> It's optional it seems:
> ./work/xmlgraphics-commons-1.3.1/build.xml:    <available
> property="sun.jpeg.present" classname="com.sun.image.codec.jpeg.JPEGCodec"/>
 
So is in 1.2, we made it to a USE flag setting this property.
Comment 7 Patrice Clement gentoo-dev 2015-07-12 13:22:06 UTC
Package removed a while ago.

*xmlgraphics-commons-2.0.1 (27 Jun 2015)

  27 Jun 2015; Patrice Clement <monsieurp@gentoo.org>
  +xmlgraphics-commons-2.0.1.ebuild:
  Version bump. EAPI 5 bump.

  27 Jun 2015; Patrice Clement <monsieurp@gentoo.org>
  -files/xmlgraphics-commons-1.5-disable-iccprofile-test.patch,
  -xmlgraphics-commons-1.2-r1.ebuild, -xmlgraphics-commons-1.3.1.ebuild,
  -xmlgraphics-commons-1.5.ebuild:
  Remove old.

Nonetheless, in /var/tmp/portage/dev-java/xmlgraphics-commons-2.0.1/work/xmlgraphics-commons-2.0.1/status.xml, we can read the following line (which serves as a sort of ChangeLog):
<changes>
  <release version="1.5" date="20 October 2012">
    [...]
    <action context="Code" dev="JM" type="remove">
      Removed dependency on com.sun classes to achieve compatibility with Apache Harmony, OpenJDK and possibly other JVMs. 
    </action>
  </release>
</changes>