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/28 18:43:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Austin Stephens updated NETBEANS-4716:
--------------------------------------
    Summary: Netbeans source will not build under Java 13+ (Ambigous reference)  (was: Netbeans source will not build under Java 13 (Ambigous reference))

> 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