Using idea to view jdk8 source code

Time:2021-3-6

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


resolvent:
Go to openjdk-8 download page:http://jdk.java.net/java-se-ri/8-MR3Download JDK and source code:
image-20201029151437540

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

image-20201029152334976

image-20201029152518995

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 “https://jitpack.io” } } implementation ‘com.github.hackware1993:MagicIndicator:1.7.0’ // for androidx AnyLayer: floating floor (pop up) allprojects { repositories { maven { url ‘https://www.jitpack.io’ } } } implementation ‘com.github.goweii:AnyLayer:3.6.0-androidx’ androidautosize: screen adaptation scheme `implementation ‘me.jessyan:autosize:1.2.1’` glide: image loading implementation […]