There is something definately weird about that constructor; I've never had it fail a build, but I have expereinced problems with it in non-standard classloaders (the JMX MLet one used by JBoss). Anyway, the change doesn't break anything, afaik...
Good luck, Owen > Well, > > maybe I am missing some detail here, but given that the > file that contains the definition of this constructor > has not been changed since Aug 24 (according to WinCVS) > I wonder why it has not been discovered if it's really a bug. > > I was originally pointed to the current snapshot to solve > another issue I had found. So how are other people working with > this snapshot ? > > Just wondering, not trying to critizize - > > Laslo > > > -----Original Message----- > From: Jakob Braeuchi [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, November 14, 2001 6:58 PM > To: [EMAIL PROTECTED] > Subject: Re: [castor-dev] Nov 14 snapshot compilation error: > SQLTypeConvertor is abstract > > > hi, > > the constructor > SQLTypeConvertor( Class fromType, Class toType ) is private. simply remove > the private keyword and it will compile. > > jakob > > ----- Original Message ----- > From: "BEDNARIK,LASLO (HP-Germany,ex1)" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, November 14, 2001 11:17 AM > Subject: [castor-dev] Nov 14 snapshot compilation error: SQLTypeConvertor is > abstract > > > > Hi, > > > > I get the following error when I try to compile the Nov 14 snapshot > > with Java 1.2.2 under WinNt4.0. > > The first error is a seperate one (FactoryState) but after that I > > get lots of errors about the SQLTypeConvertor (~80). > > > > Any hints ? > > > > Thanks, > > > > Laslo > > > > main: > > [javac] Compiling 500 source files to > > D:\tools\devel\castor\build\classes > > [javac] > > > D:\tools\devel\castor\src\main\org\exolab\castor\builder\SGStateInfo.java:75 > > : class org.exolab.castor.builder.FactoryState is defined in > > SourceFactory.java. Because it is used outside of its source file, it > should > > be defined in a file called "FactoryState.java". > > [javac] private FactoryState _currentFactoryState = null; > > [javac] ^ > > [javac] > > > D:\tools\devel\castor\src\main\org\exolab\castor\jdo\engine\SQLTypes.java:54 > > 9: nested class org.exolab.castor.jdo.engine.SQLTypes. SQLTypeConvertor is > > an abstract class. It can't be instantiated. > > [javac] new TypeConvertorInfo( new SQLTypeConvertor( > > java.lang.Short.class, java.lang.Boolean.class ) { > > [javac] ^ > > [javac] > > > D:\tools\devel\castor\src\main\org\exolab\castor\jdo\engine\SQLTypes.java:55 > > 4: nested class org.exolab.castor.jdo.engine.SQLTypes. SQLTypeConvertor is > > an abstract class. It can't be instantiated. > > [javac] new TypeConvertorInfo( new SQLTypeConvertor( > > java.lang.Boolean.class, java.lang.Short.class ) { > > -- Senior Software Developer, Unique Interactive Ltd. 50 Lisson St, London, NW1 5DF tel: 020 7453 1679 ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
