Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java8 compiler fails to compile #1

Open
umjammer opened this issue Oct 2, 2020 · 0 comments
Open

java8 compiler fails to compile #1

umjammer opened this issue Oct 2, 2020 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@umjammer
Copy link
Owner

umjammer commented Oct 2, 2020

[INFO] -------------------------------------------------------------
Error:  COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
Error:  /home/runner/work/vavi-nio-file-discutils/vavi-nio-file-discutils/src/main/java/DiscUtils/Streams/StreamExtent.java:[112,16] reference to union is ambiguous
  both method union(DiscUtils.Streams.StreamExtent[]...) in DiscUtils.Streams.StreamExtent and method union(java.util.List<DiscUtils.Streams.StreamExtent>...) in DiscUtils.Streams.StreamExtent match
Error:  /home/runner/work/vavi-nio-file-discutils/vavi-nio-file-discutils/src/main/java/DiscUtils/Streams/StreamExtent.java:[112,72] incompatible types: inferred type does not conform to upper bound(s)
    inferred: java.util.List
    upper bound(s): DiscUtils.Streams.StreamExtent[],java.lang.Object
Error:  /home/runner/work/vavi-nio-file-discutils/vavi-nio-file-discutils/src/main/java/DiscUtils/Streams/StreamExtent.java:[208,16] reference to intersect is ambiguous
  both method intersect(DiscUtils.Streams.StreamExtent[]...) in DiscUtils.Streams.StreamExtent and method intersect(java.util.List<DiscUtils.Streams.StreamExtent>...) in DiscUtils.Streams.StreamExtent match
Error:  /home/runner/work/vavi-nio-file-discutils/vavi-nio-file-discutils/src/main/java/DiscUtils/Streams/StreamExtent.java:[208,76] incompatible types: inferred type does not conform to upper bound(s)
    inferred: java.util.List
    upper bound(s): DiscUtils.Streams.StreamExtent[],java.lang.Object
[INFO] 4 errors 

java13 is ok

@umjammer umjammer added the help wanted Extra attention is needed label Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant