Fwd: Jboss/Java1.5 on HPPA in linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 21 Feb 2007, at 20:44, Paul Jenner wrote:

Hi all.

I have been trying JBoss 4.0 under Classpath CVS HEAD again and it is
still failing to start so I went back to look at Edwin's patches below.


Hi Paul,

Thanks for trying this; much appreciated. I didn't apply Edwin's patches on mass because (AFAIK) he doesn't have an assignment. So I've only applied the minor clone one (which is small enough). Looks like the others have mostly
been re-implemented anyway by me and Gary now.

On Sat, 2006-10-14 at 13:05 +0200, Edwin Steiner wrote:
I attach three patches which (on top of each other) make JBoss start
without exceptions with CACAO.

Taking each patch in turn:

+2006-10-14  Edwin Steiner  <edwin.steiner@xxxxxxx>
+
+       PR 28652
+       * javax/management/MBeanInfo.java (MBeanInfo): Use clone to
+       duplicate the arrays in order to preserve the array type.

Applied by Andrew on 15/02.


Yes, this is the one I mention above.

+2006-10-14  Edwin Steiner  <edwin.steiner@xxxxxxx>
+
+       * javax/management/MBeanConstructorInfo.java
+ (MBeanConstructorInfo(String, String, MBeanParameterInfo []): Use
+       clone to duplicate the array in order to preserve the array
+       type.
+       * javax/management/MBeanOperationInfo.java
+ (MBeanOperationInfo(String, String, MBeanParameterInfo [], ...)):
+       Likewise.

Not applied yet but seems a similar fix to the patch above which did go in. Was there anything wrong with this one or could it also be applied?


Ok, I thought this was part of the one above.  Need to check.

+2006-10-14  Edwin Steiner  <edwin.steiner@xxxxxxx>
+
+       * javax/management/ObjectName.java (properties): Initialize in
+       all cases to avoid NullPointerExceptions.
+       (ObjectName(String)): Removed initialization of properties.
+       (ObjectName(String, String, String)): Likewise.
+ (getKeyPropertyList): Do not assume that any Map can be cast to
+       Hashtable. This had caused ClassCastExceptions.
+ (toString): Return the canonical name. Some callers expect this.
+
+       * javax/management/MBeanServerDelegate.java (listeners):
+       Initialize to avoid NullPointerExceptions.
+ (addNotificationListener): Removed obsolete check (listeners ==
+       null).


The ObjectName initialisation and toString canonical name fixes were
implemented independently by Gary on 19/02 and 13/02.

IIRC, we both did the initialisation fix separately (he on gcj, me on Classpath CVS), and Gary
independently fixed toString().

Are the getKeyPropertyList and MBeanServerDelegate initialisation fixes
also required?


Need to check these; things would be easier with the appropriate assignment in place.

I'll try with the outstanding patches applied to CVS HEAD now but wanted
to raise in case someone had looked at these.


I'd be interested to know your results.
Thanks,

Paul

--
Paul Jenner <psj@xxxxxxxxxxxxxxxxx>


Thanks again,

--
Andrew :)



[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux