< prev index next >

test/hotspot/jtreg/runtime/ErrorHandling/SecondaryErrorTest.java

Print this page
*** 1,8 ***
  /*
!  * Copyright (c) 2014, 2022 SAP SE. All rights reserved.
!  * Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.
--- 1,8 ---
  /*
!  * Copyright (c) 2014, 2024 SAP SE. All rights reserved.
!  * Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   *
   * This code is free software; you can redistribute it and/or modify it
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.

*** 120,11 ***
          patternlist.add(Pattern.compile("\\[stack: Native frames:.*"));
          patternlist.add(Pattern.compile(".*VMError::controlled_crash.*"));
      }
      Pattern[] pattern = patternlist.toArray(new Pattern[] {});
  
!     HsErrFileUtils.checkHsErrFileContent(hs_err_file, pattern, false);
  
      System.out.println("OK.");
  
    }
  
--- 120,11 ---
          patternlist.add(Pattern.compile("\\[stack: Native frames:.*"));
          patternlist.add(Pattern.compile(".*VMError::controlled_crash.*"));
      }
      Pattern[] pattern = patternlist.toArray(new Pattern[] {});
  
!     HsErrFileUtils.checkHsErrFileContent(hs_err_file, pattern, false, true);
  
      System.out.println("OK.");
  
    }
  
< prev index next >