[opencms-dev] OpenCMS 5.5.x and J2SE 5.0 RC
Tristan Tarrant
ttarrant at etnoteam.it
Wed Sep 29 17:27:14 CEST 2004
Hi OpenCMS devs,
I found an incompatibility with the CVS version of OpenCMS and J2SE
5.0RC
In this version Sun has added a
long getId();
method to java.lang.Thread. This means that the
org.opencms.report.A_CmsReportThread class is invalid since it tries to
define a getId() method with return type CmsUUID which conflicts.
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Thread.html#getId()
Since by the time OpenCMS 6.0 will be out I guess that J2SE 5.0 will be
too, I have resolved this by renaming the method getUUID() everywhere.
I enclose a patch. I hope it helps.
Tristan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040929/eae8ad62/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: j2se5.0-thread-id.diff
Type: text/x-patch
Size: 7668 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040929/eae8ad62/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2121 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040929/eae8ad62/attachment-0001.bin>
More information about the opencms-dev
mailing list