Skip to content

Commit

Permalink
Refactor for depreceation of MasterService (#527)
Browse files Browse the repository at this point in the history
* Refactor for depreceation of MasterService

Signed-off-by: Khushboo Rajput <[email protected]>

* Adding license and notice txt for bcprov-jdk15to18

Signed-off-by: Khushboo Rajput <[email protected]>

---------

Signed-off-by: Khushboo Rajput <[email protected]>
  • Loading branch information
khushbr authored Sep 6, 2023
1 parent 8a2a8e2 commit d4c8e65
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions licenses/bcprov-jdk15to18-LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
LICENSE
Copyright (c) 2000 - 2019 The Legion of the Bouncy Castle Inc. (https://www.bouncycastle.org)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Empty file.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
50c9a65da3acb24e94c6dbb5e2afda2d7dd536ad
0f872542fa9a89746f0cd60fc465c33537d41701
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,10 @@ void generateFinishMetrics(long startTime) {

// - Separated to have a unit test; and catch any code changes around this field
Field getClusterManagerServiceTPExecutorField() throws NoSuchFieldException {
// Currently ClusterManagerService extends MasterService, remove getSuperClass(),
// once MasterService contents are moved and class is removed.
Field threadPoolExecutorField =
ClusterManagerService.class.getDeclaredField("threadPoolExecutor");
ClusterManagerService.class.getSuperclass().getDeclaredField("threadPoolExecutor");
threadPoolExecutorField.setAccessible(true);
return threadPoolExecutorField;
}
Expand Down

0 comments on commit d4c8e65

Please sign in to comment.