mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8320716: ResolvedModule::reads includes self when configuration contains two or more automatic modules
Reviewed-by: mchung
This commit is contained in:
parent
4ba94ef69e
commit
2476be4590
3 changed files with 176 additions and 181 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2016, 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
|
||||
|
@ -97,6 +97,8 @@ public final class ResolvedModule {
|
|||
|
||||
/**
|
||||
* Returns the set of resolved modules that this resolved module reads.
|
||||
* The readability relation is reflexive (every module reads itself). The
|
||||
* set of resolved modules returned by this method does not include itself.
|
||||
*
|
||||
* @return A possibly-empty unmodifiable set of resolved modules that
|
||||
* this resolved module reads
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue