This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: missing packages ???


On Wed, 2003-06-04 at 15:40, Jeff Sturm wrote:
> On 4 Jun 2003, baptiste daroussin wrote:
> > First of all, I want to say thanks to you, for the great stuff you've done.
> > I'm using gcj-3.3, on debian stable (unofficial packages ) I'm trying to compile the OpenOffice java framework : uno (from 1.1beta2),
> > all packages compiles without any problem except one jar : sanbox.jar, saying some class are missing.
> > So I've had a look to libgcj-3.3.jar, I've seen some missing packages :
> > sun.security.provider
> > sun.tools.jar.
> > sun.awt.image.
> > sun.applet.
> 
> They'll have to fix their code.  Gcj developers aren't going to add any
> sun.* classes to their runtime.
> 
> Application developers shouldn't directly reference classes in sun.* (or
> gnu.java.*, for that matter) if they care about portability.
> 
> Jeff

It's not sure they reference the sun.* packages directly. I have seen
this as well, and solved it by implementing my own security provider and
loading it *as the number one* provider as there may be several running.
I did this mainly because at the time gnu.security.* lacked some
features I needed. 

Same deal with some JDBC drivers I tried. Complaimed about missing
sun.something packages, turned out that using gcc3.4 with its nio stuff
cured it. 

 
-- 
/Lars Andersen


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]