Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove JavaOISAccess from model class SharedSecrets #40

Merged
merged 1 commit into from
May 11, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions src/classes/modules/java.base/jdk/internal/misc/SharedSecrets.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ public class SharedSecrets {
private static JavaIOFileDescriptorAccess javaIOFileDescriptorAccess;
private static JavaNioAccess javaNioAccess;
private static JavaAWTAccess javaAWTAccess;
private static JavaOISAccess javaOISAccess;
private static JavaObjectInputStreamAccess javaObjectInputStreamAccess;

// (required for EnumSet ops)
Expand Down Expand Up @@ -159,16 +158,4 @@ public static JavaAWTAccess getJavaAWTAccess(){
return javaAWTAccess;
}

public static void setJavaOISAccess(JavaOISAccess access) {
javaOISAccess = access;
}

public static JavaOISAccess getJavaOISAccess() {
if (javaOISAccess == null) {
unsafe.ensureClassInitialized(ObjectInputStream.class);
throw new UnsupportedOperationException("sun.misc.SharedSecrets.getJavaOISAccess() not supported yet");
}

return javaOISAccess;
}
}