ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@m64.com>
Subject RE: EjbcHelper null pointer (Again)
Date Tue, 17 Oct 2000 14:26:02 GMT
Jeremy,

I have commited a change which just tests whether "compiler" is null.
EjbcHelper is only concerned if build.compiler is set to Jikes, so there is
no need to set it to a particular value if it is not actually set by the
build file.

Thanks for finding this.

Conor


> -----Original Message-----
> From: Taylor, Jeremy [mailto:jtaylor@lehman.com]
> Sent: Tuesday, 17 October 2000 21:48
> To: 'ant-dev@jakarta.apache.org'
> Subject: EjbcHelper null pointer (Again)
>
>
> Please excuse the clumsiness, first time posting to this list. I tried to
> log the bug on the website, really I did try, 4 times.....
>
> I have been getting NullPointer exceptions from the optional WebLogic4.51.
> EjbcHelper class.
>
> My local fix is to insert the following at line 319 of EjbcHelper.java
>
>         if (compiler == null) {
>             if (Project.getJavaVersion().startsWith("1.3")) {
>                 compiler = "modern";
>             } else {
>                 compiler = "classic";
>             }
>         }
>
> This seems to do the trick.
>
> Environment:
>
> 	ANT	1.2rc
> 	NT	4.5.1
> 	Java	JDK1.3
>
> My local version attached below:
>
>  <<EjbcHelper.java>>
>


Mime
View raw message