GoogleCodeArchive / piccolo2d

Automatically exported from code.google.com/p/piccolo2d
0 stars 0 forks source link

PiccoloX uses Sun classes (sun.dc.path) that aren't in OpenJDK #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download and install Protege 3.4
2. Open an ontology
3. View Jambalaya tab

What is the expected output? What do you see instead?

Expected: Jambalaya generating a graph of classes, using Piccolo for rendering.

Actual: Loading dialog stops part way through and a stack trace at the
terminal that points to this line in the Jambalaya code:

SEL_RECT_STROKE = new PFixedWidthStroke(SEL_RECT_ABS_WIDTH);

What version of the product are you using? On what operating system?

10th July build of Piccolo on Fedora 11 using OpenJDK 1.6 build 16.

Please provide any additional information below.

Jambalaya is using Piccolo for its rendering, but Piccolo imports a number
of packages from sun.dc.path, which can't be open-sourced and so has been
removed from Sun's open source implementation of Java - the OpenJDK
(http://osdir.com/ml/java.openjdk.distro-packaging.devel/2008-03/msg00047.html).
This causes the Piccolo classes to throw NoClassDefFound exceptions, which
breaks any project that builds on Piccolo that is not run on Sun's
proprietary version of the JDK.

As per an OpenJDK message
(http://mail.openjdk.java.net/pipermail/graphics-rasterizer-dev/2007-October/000
049.html)
there is an alternative that should be available in the OpenJDK.

Original issue reported on code.google.com by ibbo...@gmail.com on 21 Aug 2009 at 11:15

GoogleCodeExporter commented 9 years ago
This has been reported previously as Issue 48 and marked as fixed in Issue 49.

Is it possible to build Jambalaya with a version of Piccolo2D built from svn 
trunk?

Original comment by heue...@gmail.com on 21 Aug 2009 at 6:26

GoogleCodeExporter commented 9 years ago
I'll try to check it out next week, although I can't check out from public SVN 
at
work because of the firewall rules. I had seen issue 48 but I also tried 
replacing
the Piccolo JARs with the latest versions and didn't see a difference, so I'd 
assumed
there was still something to fix and that the changes were more deprecation than
deletions.

Original comment by ibbo...@gmail.com on 21 Aug 2009 at 6:58

GoogleCodeExporter commented 9 years ago
svn trunk builds fine for me with OpenJDK IcedTea6 1.4.1 on linux.  Will mark as
Fixed, please review.

Original comment by heue...@gmail.com on 25 Sep 2009 at 9:05

GoogleCodeExporter commented 9 years ago

Original comment by heue...@gmail.com on 25 Sep 2009 at 9:05

GoogleCodeExporter commented 9 years ago
Zero hits of

$ find . -name "*.java" | xargs grep "sun\.dc\.path"

Original comment by mr0...@mro.name on 28 Oct 2009 at 11:41