--- old/src/java.base/solaris/classes/sun/nio/fs/SolarisWatchService.java 2020-03-09 21:45:26.000000000 -0700 +++ new/src/java.base/solaris/classes/sun/nio/fs/SolarisWatchService.java 2020-03-09 21:45:26.000000000 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2020, 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 @@ -815,7 +815,7 @@ throws UnixException; static { - jdk.internal.loader.BootLoader.loadLibrary("nio"); + sun.security.action.LoadLibraryAction.privilegedLoadLibrary("nio"); init(); } }