Skip to content

Commit

Permalink
and one more...
Browse files Browse the repository at this point in the history
  • Loading branch information
dfuch committed Nov 29, 2024
1 parent c67ca55 commit 192ce5c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/java.base/unix/classes/sun/net/sdp/SdpProvider.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
import java.io.IOException;
import java.io.PrintStream;

import sun.security.action.GetPropertyAction;

/**
* A NetHooks provider that converts sockets from the TCP to SDP protocol prior
* to binding or connecting.
Expand All @@ -54,7 +52,7 @@ public class SdpProvider extends NetHooks.Provider {
private PrintStream log;

public SdpProvider() {
Properties props = GetPropertyAction.privilegedGetProperties();
Properties props = System.getProperties();
// if this property is not defined then there is nothing to do.
String file = props.getProperty("com.sun.sdp.conf");
if (file == null) {
Expand Down

0 comments on commit 192ce5c

Please sign in to comment.