src/jdk.jfr/share/classes/jdk/jfr/FlightRecorderPermission.java
changeset 50745 a390cbb82d47
parent 50113 caf115bb98ad
equal deleted inserted replaced
50744:6c306d54366d 50745:a390cbb82d47
    29 import java.util.List;
    29 import java.util.List;
    30 import java.util.Map;
    30 import java.util.Map;
    31 import java.util.Objects;
    31 import java.util.Objects;
    32 
    32 
    33 import jdk.jfr.internal.PlatformEventType;
    33 import jdk.jfr.internal.PlatformEventType;
       
    34 import jdk.jfr.internal.PlatformRecorder;
    34 import jdk.jfr.internal.PlatformRecording;
    35 import jdk.jfr.internal.PlatformRecording;
    35 import jdk.jfr.internal.PrivateAccess;
    36 import jdk.jfr.internal.PrivateAccess;
    36 import jdk.jfr.internal.Type;
    37 import jdk.jfr.internal.Type;
    37 import jdk.jfr.internal.Utils;
    38 import jdk.jfr.internal.Utils;
    38 
    39 
   183 
   184 
   184         @Override
   185         @Override
   185         public boolean isUnsigned(ValueDescriptor v) {
   186         public boolean isUnsigned(ValueDescriptor v) {
   186             return v.isUnsigned();
   187             return v.isUnsigned();
   187         }
   188         }
       
   189 
       
   190         @Override
       
   191         public PlatformRecorder getPlatformRecorder() {
       
   192             return FlightRecorder.getFlightRecorder().getInternal();
       
   193         }
   188     }
   194     }
   189 
   195 
   190     /**
   196     /**
   191      * Constructs a {@code FlightRecorderPermission} with the specified name.
   197      * Constructs a {@code FlightRecorderPermission} with the specified name.
   192      *
   198      *