Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/share/classes/jdk/codetools/apidiff/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ private Result run(List<String> args, Log log) {
Selector s = new Selector(options.includes, options.excludes);
AccessKind ak = options.getAccessKind();

// TODO: when APIDiff moves to JDK 21, thia can trivially become SequencedSet,
// which would be useful in varoius places, such as PageReporter.getResultGlyph
Set<API> apis = options.allAPIOptions.values().stream()
.map(a -> API.of(a, s, ak, log))
.collect(Collectors.toCollection(LinkedHashSet::new));
Expand Down