Well, my intial thoughts on this are:
1. Lets not mess with it now. :-) Let the certification complete.
2. It looks like the ORB in JDK 1.5 have been upgraded. I'd have to
check the JDK docs to see a complete list of whats changed. In JDK 1.4,
the interceptor code lies in the package: com.sun.corba.se.interceptor.
OpenEJB is using the class IORInfoExt. In JDK 1.5, that class has moved
to the package: com.sun.corba.se.spi.legacy.interceptor. My guess is
that they have changed the implementation of the interceptor to use the
corba spec for Portable Interceptors.
3. We'll probably have to create an interface(s) that allow either the
JDK 1.4 or JDK 1.5 implementation to be used. Or the layer can
dynamically load classes and lookup methods depending on the underlying
runtime verison of the JDK.
4. Hopefully, Sun hasn't moved too much other stuff around. :-)
Mark
Jeff Genender wrote:
>Mark,
>
>I was looking into this a little while back (when I finally got my Mac to
>ru Java 1.5 - yay)...what kind of effort would it be to allow the CORBA
>stuff to run/compile with Java 1.5?
>
>Jeff
>
>---------------------------- Original Message ----------------------------
>Subject: Re: Build Failure
>From: "Mark" <delafran_j2ee@hotmail.com>
>Date: Fri, May 6, 2005 11:05 am
>To: dev@geronimo.apache.org
>--------------------------------------------------------------------------
>
>Are you building with JDK 1.5? If so, at this time, you can't you will
>have to build with JDK 1.4
>
>Mark
>
>anita kulshreshtha wrote:
>
>
>
>>Hi,
>> I been getting compiler error in openejb core very
>>consistently. Here is the error from todays
>>fresh-checkout (rev 168595)-
>>
>>default:
>>modules:default:
>>modules:reactor:init:
>>
>>build:start:
>>
>>default:
>>java:prepare-filesystem:
>>
>>java:compile:
>> [depend] Deleted out of date files in seconds
>> [echo] Compiling to
>>D:\anita\geronimo\incubator-geronimo\openejb\modules\core/target/classes
>> [javac] Compiling 622 source files to
>>D:\anita\geronimo\incubator-geronimo\openejb\modules\core\target\classes
>>
>>
>D:\anita\geronimo\incubator-geronimo\openejb\modules\core\src\java\org\openejb\corba\MinorCodes.java:47:
>package com.sun
>
>
>>.corba.se.internal.orbutil does not exist
>>import com.sun.corba.se.internal.orbutil.ORBConstants;
>> ^
>>D:\anita\geronimo\incubator-geronimo\openejb\modules\core\src\java\org\openejb\corba\sunorb\IORSSLInterceptor.java:47:
>>
>>
>p
>
>
>>ackage com.sun.corba.se.interceptor does not exist
>>import com.sun.corba.se.interceptor.IORInfoExt;
>> ^
>>D:\anita\geronimo\incubator-geronimo\openejb\modules\core\src\java\org\openejb\corba\sunorb\IORSSLInterceptor.java:48:
>>
>>
>p
>
>
>>ackage com.sun.corba.se.interceptor does not exist
>>import com.sun.corba.se.interceptor.UnknownType;
>> ^
>>.....................
>><snip>
>>83 errors
>>
>>BUILD FAILED
>>File......
>>D:\anita\geronimo\incubator-geronimo\openejb\maven.xml
>>Element... maven:reactor
>>Line...... 127
>>Column.... 27
>>Unable to obtain goal [default] -- C:\Documents and
>>Settings\User\.maven\cache\maven-java-plugin-1.5\plugin.jelly:63:48:
>><ant:javac> Compile failed; see the compiler error
>>output for details.
>>Total time: 1 minutes 45 seconds
>>Finished at: Fri May 06 10:24:53 EDT 2005
>>
>>TIA
>>Anita
>>
>>
>>
>>__________________________________
>>Do you Yahoo!?
>>Yahoo! Small Business - Try our new resources site!
>>http://smallbusiness.yahoo.com/resources/
>>
>>
>>
>>
>>
>>
>
>
>
>
>
>
|