I have multiple Mercurial clones of my project.
In my project there is a module that needs to use jdk 8. The rest of my project uses jdk 7. I configure that module to use jdk 8 by going to project structure, selecting the module, clicking the dependencies tab, and adding jdk 8.
So pretty much I'm following the instructions posted here: link.
The problem is, jdk8 gets added to the list of sdk's under "Platform Settings" in the project structure. The result is that when I open any other clone of my project in IntelliJ, jdk 8 gets set to the project sdk without any notice or warning. This is a problem since I need jdk 7 to be my project sdk not 8.
This smells like a bug pretending to be a feature. Is there any way to keep this from happening?