3 ms·
Dumb question... Wouldn't it be possible to fork the namespace to something like javax -> jawax (or java->borneo as someone suggested) and then patch the JVM to
by znpy 8y ago
Dumb question... Wouldn't it be possible to fork the namespace to something like javax -> jawax (or java->borneo as someone suggested) and then patch the JVM to alias the javax package to the would-be jawax package (or borneox or whatever) ?
- ZiiS 8y agoTechnically easy, but thought to expose that new JVM legally.
- needusername 8y agoYou would probably rather write a JVM agent that changes the class references. Eclipse will almost surely fork the namespace to something jakarta related.
- needusername 8y agoWhich turns to to be quite easy: https://twitter.com/rafaelcodes/status/1125032183167688706 https://twitter.com/rafaelcodes/status/1125032183167688706
- fiddlerwoaroof 8y agoThe other option is a maven plugin that lets you rename packages and then someone posts a list of rules on a StackOverflow question for renaming the new namespaces to the old ones: that way, no JDK distributor is distributing software that understands the old package names.
- theandrewbailey 8y agoMaybe have a more sensible namespace convention. Presently, for any given API, it's a toss up of whether it's under javax.* or java.*, with no rhyme or reason.