missing packages ???

Lars Andersen lars@rimfaxe.com
Thu Jun 5 08:42:00 GMT 2003


On Wed, 2003年06月04日 at 16:14, Michael Koch wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>> Am Mittwoch, 4. Juni 2003 16:02 schrieb Lars Andersen:
>> > 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.
>> Wow, my non-working bugfull nio code cured your JDBC drivers ?
>
They stopped complaining about missing classes, for sure.
The jdbc driver in question is the linux jdbc drivers for MS SQL 2000.
Compile it with gcc3.3
produces lots of compile errors like these :
error: cannot find file for class sun.io.CharToByteConverter
error: cannot find file for class sun.io.ByteToCharConverter
... and more ...
Compiling it with gcc3.4 at least doesn't produce compile errors.
Maybe I'm wrong, but I drew the conclusion that the presence/absence of
nio was responsible for this?
I stepped back to 3.3 because of things not working properly in the
network bits. I never got around to a full functionality test. But the
problem of the original poster was a compile error, see? 
So you are probably right about the bugginess, no argument.
-- 
/Lars Andersen


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /