I think the CDDL approach could work. But what's stopping us from creating those files from scratch ourselves, under Apache? I.e., just because Oracle did not donate them does not mean we cannot create them ourselves, since they're simply stub classes?
Gj On Sun, Oct 8, 2017 at 10:08 AM, Emilian Bold <[email protected]> wrote: > Hello, > > It seem that originally these files existed in the Mercurial repository: > > applemenu/src/java/awt/Desktop.java > applemenu/src/java/awt/desktop/AboutEvent.java > applemenu/src/java/awt/desktop/AboutHandler.java > applemenu/src/java/awt/desktop/AppEvent.java > applemenu/src/java/awt/desktop/FilesEvent.java > applemenu/src/java/awt/desktop/OpenFilesEvent.java > applemenu/src/java/awt/desktop/OpenFilesHandler.java > applemenu/src/java/awt/desktop/PreferencesEvent.java > applemenu/src/java/awt/desktop/PreferencesHandler.java > applemenu/src/java/awt/desktop/QuitEvent.java > applemenu/src/java/awt/desktop/QuitHandler.java > applemenu/src/java/awt/desktop/QuitResponse.java > applemenu/src/java/awt/desktop/QuitStrategy.java > > See, for example: > https://github.com/emilianbold/netbeans-releases/ > blob/master/applemenu/src/java/awt/Desktop.java > > These are under the standard NetBeans GPL w/ CPE + CDDL dual license. > > The files themselves are a stub with this comment: > > /* This is stub code written based on java.awt package javadoc published > for > > * JDK 9. It makes possible to compile code, which uses new JDK 9 > features, > > * on JDK 8. The compiled stub classes should never be included in the > final > > * product. > > */ > > > > It seems that for the donation Oracle decided not to donate these, but to > bundle them as an external dependency with the > name applemenu-external-desktop-classes.zip which remains with the old > dual > license. > > I guess Apache NetBeans could elect to use the CDDL license for those > files? > > In which case we need a statement about this, perhaps in the NOTICE file. > > If we do choose to add the dependency with CDDL, is it really worth keeping > it elsewhere or could we add it back in the source tree like it used to be? > > --emi >
