You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Austin Stephens (Jira)" <ji...@apache.org> on 2020/08/15 19:40:00 UTC

[jira] [Comment Edited] (NETBEANS-4716) Netbeans source will not build under Java 13 (Ambigous reference)

    [ https://issues.apache.org/jira/browse/NETBEANS-4716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17178375#comment-17178375 ] 

Austin Stephens edited comment on NETBEANS-4716 at 8/15/20, 7:39 PM:
---------------------------------------------------------------------

[~lkishalmi] Have you tried doing a very clean build like what you would get after checking out a new copy? The error occurs while building "langtools" which occurs before the script has a chance to warn you about building with newer versions of Java.


was (Author: sir intellegence):
Have you tried doing a very clean build like what you would get after checking out a new copy? The error occurs while building "langtools" which occurs before the script has a chance to warn you about building with newer versions of Java.

> Netbeans source will not build under Java 13 (Ambigous reference)
> -----------------------------------------------------------------
>
>                 Key: NETBEANS-4716
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4716
>             Project: NetBeans
>          Issue Type: Bug
>          Components: platform - Other
>    Affects Versions: 12.0, 12.1
>            Reporter: Austin Stephens
>            Priority: Major
>
> When attempting to build from netbeans source, I get a compile error when it goes to build langtools. Here are the details:
> {noformat}
> D:\netbeans\incubator-netbeans\nbbuild\build\langtools\src\jdk.compiler\share\classes\com\sun\tools\javac\file\JavacFileManager.java:519: error: reference to newFileSystem is ambiguous
>                 this.fileSystem = FileSystems.newFileSystem(archivePath, null);
>   both method newFileSystem(Path,ClassLoader) in FileSystems and method newFileSystem(Path,Map<String,?>) in FileSystems match
> D:\netbeans\incubator-netbeans\nbbuild\build\langtools\src\jdk.compiler\share\classes\com\sun\tools\javac\file\Locations.java:383: error: reference to newFileSystem is ambiguous
>                             FileSystems.newFileSystem(file, null).close();
>   both method newFileSystem(Path,ClassLoader) in FileSystems and method newFileSystem(Path,Map<String,?>) in FileSystems match
> D:\netbeans\incubator-netbeans\nbbuild\build\langtools\src\jdk.compiler\share\classes\com\sun\tools\javac\platform\JDKPlatformProvider.java:80: error: reference to newFileSystem is ambiguous
>             try (FileSystem fs = FileSystems.newFileSystem(ctSymFile, null);
>   both method newFileSystem(Path,ClassLoader) in FileSystems and method newFileSystem(Path,Map<String,?>) in FileSystems match
> D:\netbeans\incubator-netbeans\nbbuild\build\langtools\src\jdk.compiler\share\classes\com\sun\tools\javac\platform\JDKPlatformProvider.java:120: error: reference to newFileSystem is ambiguous
>                         ctSym2FileSystem.put(file, fs = FileSystems.newFileSystem(file, null));
>   both method newFileSystem(Path,ClassLoader) in FileSystems and method newFileSystem(Path,Map<String,?>) in FileSystems match{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists