From: Tor L. <tm...@ik...> - 2010-02-28 21:35:30
|
A general question about the Java-to-Objective-C JDK compatibility classes in xmlvm: Currently (and in the recent suggested patches from Gergely Kis) they are written directly in Objective-C. I wonder whether it would be possible to instead use suitably licensed existing Java code, and keep just the "core" parts that acually must be so, in Objective-C. Obviously using stuff from OpenJDK's (i.e. Sun's, er, Oracle's) class library is not possible or desirable because of its licensing (GPL), but what about Apache Harmony? Is the Apache License suitable? Would it be a good idea to just include suitable Java code from there (with minor patches as needed) (and have xmlvm translate it into Objective-C) instead of writing compatibility classes in Objective-C? (Obviously, if xmlvm itself does not want to do this, nothing prevents an xmlvm-using project to just import such code itself. But if many projects start doing it, there will be a large amount of duplicated work, which is a waste of precious hacker resources.) --tml |