title: IntelliJ shows decompiled .class file instead of source code
body: <p>I am having issues with IntelliJ - it shows me a "decompiled" version of the class instead of its source code if I ctrl+click the class.</p>
  
  <p>This is what I see:</p>
  
  <p><img src="https://i.stack.imgur.com/sceIX.jpg" alt="Decompiled class message"></p>
  
  <p>I am trying to open regular JDK source files.</p>
  
  <p>The most relevant issue I found is explained here: <a href="https://stackoverflow.com/questions/38412716/java-sources-replaced-by-decompiled-files-in-intellij/38413439#38413439">Java sources replaced by decompiled files in Intellij</a></p>
  
  <p>The most detailed answer I've found so far is there as well.</p>
  
  <p>Yet it doesn't work for me:</p>
  
  <ol>
  <li><p>Bytecode Viewer plugin is off.</p></li>
  <li><p>Java Bytecode Decompiler plugin is off.</p></li>
  <li><p>Platform, Project and Module all have same JDK version setup.</p></li>
  <li><p>I have two JDKs available in IntelliJ: jdk1.8.0_161 and jbsdk8u112b287.2_windows_x86 (bundled with IntelliJ, but comes without src.zip). Tried with both (had to specify src.zip of jdk1.8.0_161 for jbsdk8u112b287.2_windows_x86) - no luck</p></li>
  <li><p>src.zip is not corrupt - I can open it via WinRAR</p></li>
  <li><p>When added jdk1.8.0_161 to IntelliJ, it automatically found src.zip. When manually adding src.zip to jbsdk8u112b287.2_windows_x86 Sourcepath tab - it started "Scanning for roots", but warned me that it "cannot determine what kind of files the chosen items contain" and offered me to "attach them as 'Sources'" so I agreed.</p></li>
  <li><p>Tried File > Invalidate Caches / Restart... - same result.</p></li>
  <li><p>Same issue in 2017.3 and fresh 2018.1 versions of IntelliJ.</p></li>
  <li><p>Providing path for Documentation makes IntelliJ look for the documentation in the path specified. So it works as it should for both of JDKs. But not for sources.</p></li>
  <li><p>Everything else works/compiles properly.</p></li>
  </ol>
  
  <p>My settings:</p>
  
  <p><img src="https://i.stack.imgur.com/rBBWO.jpg" alt="Settings"></p>