test/jdk/jdk/jfr/event/metadata/TestDefaultConfigurations.java
changeset 52621 f7309a1491d9
parent 51214 67736b4846a0
equal deleted inserted replaced
52620:5f47b56cb867 52621:f7309a1491d9
   171         insertSetting(doc, EventNames.ActiveSetting, "threshold", "0 ns");
   171         insertSetting(doc, EventNames.ActiveSetting, "threshold", "0 ns");
   172         insertSetting(doc, EventNames.ActiveRecording, "stackTrace", "false");
   172         insertSetting(doc, EventNames.ActiveRecording, "stackTrace", "false");
   173         insertSetting(doc, EventNames.ActiveRecording, "threshold", "0 ns");
   173         insertSetting(doc, EventNames.ActiveRecording, "threshold", "0 ns");
   174         insertSetting(doc, EventNames.JavaExceptionThrow, "threshold", "0 ns");
   174         insertSetting(doc, EventNames.JavaExceptionThrow, "threshold", "0 ns");
   175         insertSetting(doc, EventNames.JavaErrorThrow, "threshold", "0 ns");
   175         insertSetting(doc, EventNames.JavaErrorThrow, "threshold", "0 ns");
       
   176         insertSetting(doc, EventNames.SecurityProperty, "threshold", "0 ns");
       
   177         insertSetting(doc, EventNames.TLSHandshake, "threshold", "0 ns");
       
   178         insertSetting(doc, EventNames.X509Certificate, "threshold", "0 ns");
       
   179         insertSetting(doc, EventNames.X509Validation, "threshold", "0 ns");
   176         return doc;
   180         return doc;
   177     }
   181     }
   178 
   182 
   179     private static void insertSetting(Document doc, String eventName, String settingName, String settingValue) {
   183     private static void insertSetting(Document doc, String eventName, String settingName, String settingValue) {
   180         for (Element event : getChildElements(doc.getDocumentElement(), "event")) {
   184         for (Element event : getChildElements(doc.getDocumentElement(), "event")) {