On 10 June 2018 at 00:02, Bruno P. Kinoshita <brunodepau...@yahoo.com.br.invalid> wrote: > Yes, that's my understanding. We would use require static on java.desktop, > but users wouldn't have any issues as long as they did not use the version of > the class that requires java.desktop. > > If the user want/needs to use those classes, then they have to add the > dependency to java.desktop in their code.
When [lang] is used in classpath mode, there is no problem as java.desktop is included anyway. When [lang] is used in module mode, the user should get a compile error unless they add the java.desktop dependency (because their code will be using the java.desktop classes directly, so their code won't compile). Stephen --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org