Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Circular dependencies in SWT 3.0 M8 (native compilation with GCJ)

I'm hitting a good number of circular dependencies in SWT 3.0 M8 (aka SWT 3.044).

TrayItem (org-eclipse-swt-emulated-tray) extends Item (org-eclipse-swt-common)

At the same time TrayItem is used in the org-eclipse-swt-common source tree.

(I'm referring to source trees and not namespaces.)

You must have java compiler superpowers to get that kind of circularities compiling
correctly! I wonder what build system you are using to get this going.

I can see that the source trees were split more granularly, in order to make them
more manageable; all of which are commendable efforts. However, if the splitting
leads to untractable circularities, it precludes compilation with ordinary compilers.
Only superpowers can help here!


Back to the top