Skip to content

Fix build issue with newer JDK versions#11

Merged
mkienow-r7 merged 1 commit intorapid7:masterfrom
mkienow-r7:feature/fix-recog-matchers-provider-build-issue
Sep 21, 2021
Merged

Fix build issue with newer JDK versions#11
mkienow-r7 merged 1 commit intorapid7:masterfrom
mkienow-r7:feature/fix-recog-matchers-provider-build-issue

Conversation

@mkienow-r7
Copy link
Copy Markdown
Contributor

@mkienow-r7 mkienow-r7 commented Sep 21, 2021

Description

Fixes a build issue with RecogMatchersProvider and newer JDK versions.

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /recog-java/src/main/java/com/rapid7/recog/provider/RecogMatchersProvider.java:[89,39] reference to newFileSystem is ambiguous
  both method newFileSystem(java.nio.file.Path,java.lang.ClassLoader) in java.nio.file.FileSystems and method newFileSystem(java.nio.file.Path,java.util.Map<java.lang.String,?>) in java.nio.file.FileSystems match
[INFO] 1 error

Motivation and Context

Fixing bugs and working with newer JDKs!

How Has This Been Tested?

Tested build (mvn compile) using both openjdk 11.0.11 and 16.0.1.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have updated the documentation accordingly (or changes are not required).
  • I have added tests to cover my changes (or new tests are not required).
  • All new and existing tests passed.

@mkienow-r7 mkienow-r7 merged commit b70b4a3 into rapid7:master Sep 21, 2021
@mkienow-r7 mkienow-r7 deleted the feature/fix-recog-matchers-provider-build-issue branch September 21, 2021 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants