From 5dd9f8e0dd6e357d7c8537e79a8c50168ee86d25 Mon Sep 17 00:00:00 2001 From: sendaoYan Date: Tue, 29 Oct 2024 10:59:47 +0800 Subject: [PATCH] 8343178: Test BasicTest.java javac compile fails cannot find symbol --- .../tools/jpackage/share/jdk/jpackage/tests/BasicTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/jdk/tools/jpackage/share/jdk/jpackage/tests/BasicTest.java b/test/jdk/tools/jpackage/share/jdk/jpackage/tests/BasicTest.java index 6b785415e631a..72550fd365ba7 100644 --- a/test/jdk/tools/jpackage/share/jdk/jpackage/tests/BasicTest.java +++ b/test/jdk/tools/jpackage/share/jdk/jpackage/tests/BasicTest.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019, 2022, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2019, 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 @@ -317,7 +317,7 @@ public void testTemp(TestTempType type) throws IOException { pkgTest.addBundleVerifier(cmd -> { // Check jpackage used the supplied directory. Path tempDir = getTempDirectory(cmd, tempRoot); - TKit.assertPathNotEmptyDirectory(tempDir); + TKit.assertDirectoryNotEmpty(tempDir); }); }