Using idea to view jdk8 source code


When using idea to view Oracle JDK 8 source code, it is found that unsafe has no source code.

Go to openjdk-8 download page: JDK and source code:

Open idea – project structure to add JDK and source code:



After setting, you can see the unsafe source code

Recommended Today

Document the third-party framework you use

BackgroundLibrary: generate shape from label implementation “androidx.appcompat:appcompat:$supportVersion” //for androidx implementation ‘com.noober.background:core:1.6.5’ MagicIndicator: indicator repositories { … maven { url “” } } implementation ‘com.github.hackware1993:MagicIndicator:1.7.0’ // for androidx AnyLayer: floating floor (pop up) allprojects { repositories { maven { url ‘’ } } } implementation ‘com.github.goweii:AnyLayer:3.6.0-androidx’ androidautosize: screen adaptation scheme `implementation ‘me.jessyan:autosize:1.2.1’` glide: image loading implementation […]