On 29/07/16 11:06, Alan Bateman wrote: > I thought there was an FAQ on this but I can't find it. It comes up > periodically but basically Oracle builds do have some code and modules > that are not in OpenJDK, the deploy area (Java Web Start for example) > mostly. Oracle builds have include the FX modules. They are in the > OpenJFX project (in OpenJDK), just not in the JDK 9 forests so you > typically don't have them in your own builds (needs a configure option > when building).
Well, that's very interesting but it wasn't this code that was missing, rather a significant swathe of the core JDK runtime classes. > In any case, src.zip is just the .java sources. The IDEs/debuggers have > historically used it. I don't know if it's used elsewhere but it has > never been the complete source code. It has never include the hotspot > code or any of the native code for example. No, indeed. And I wouldn't expect it to be anything other than Java sources since the purpose of src.zip is merely to provide a Java debugger with the sources of the Java bytecode included in the core JDK runtime (if we were ever to get to the point where gdb can debug Java and C++ well, I might then start clamouring for the hotspot sources to be included :-). But I did expect src.zip to contain all, or very nearly all, of the core JDK runtime sources. > The only thing about src.zip that is interesting to modules is whether > to change the layout so that the contents are organized by module. We > have been shy about changing it, mostly because it's not clear what > might be depending on it. I agree this is not really a module system issue which is why I posted to build-dev. I also posted to the Jigsaw dev list because it seemed to relate to the re-organization which resulted from introduction of the module system and thought you might be able to short-circuit the enquiry. Anyway, I'm quite happy so long as Red Hat can produce releases which allow the full core JDK runtime to be debugged from a Java debugger. regards, Andrew Dinn ----------- Senior Principal Software Engineer Red Hat UK Ltd Registered in England and Wales under Company Registration No. 03798903 Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander