Lee Breisacher wrote:
> I just downloaded xjc 20040412 and it is STILL using a java 1.4 API. I
> thought someone fixed this last week. Here's the offending line of code
> from PreProcessingLineFilter:
>
> conditions.push(Boolean.valueOf(!b.booleanValue()));
>
Kohsuke did indeed fix this last week:
Index: PreProcessingLineFilter.java
===================================================================
RCS file: /sw/wpts/jaxb-ri/xjc/src/com/sun/tools/xjc/generator/PreProcessingLineFilter.java,v
retrieving revision 1.1.4.1
retrieving revision 1.1.4.2
diff -C2 -d -r1.1.4.1 -r1.1.4.2
*** PreProcessingLineFilter.java 2004/04/02 19:49:16 1.1.4.1
--- PreProcessingLineFilter.java 2004/04/08 17:28:06 1.1.4.2
***************
*** 82,86 ****
String exp = cond.substring(3,idx);
! conditions.push(Boolean.valueOf(eval(exp)));
return null;
}
--- 82,86 ----
String exp = cond.substring(3,idx);
! conditions.push(eval(exp)?Boolean.TRUE:Boolean.FALSE);
return null;
}
Perhaps we pulled the wrong cvs tag before releasing the weekly bundle.
We'll look into this and fix it ASAP.
Thanks and sorry for the inconvenience,
--Ryan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jaxb.dev.java.net
For additional commands, e-mail: users-help_at_jaxb.dev.java.net