You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jaroslav Tulach (JIRA)" <ji...@apache.org> on 2017/10/25 06:49:00 UTC

[jira] [Created] (NETBEANS-102) CoS to generate .h files

Jaroslav Tulach created NETBEANS-102:
----------------------------------------

             Summary: CoS to generate .h files
                 Key: NETBEANS-102
                 URL: https://issues.apache.org/jira/browse/NETBEANS-102
             Project: NetBeans
          Issue Type: Improvement
          Components: java - Source
            Reporter: Jaroslav Tulach
            Assignee: Tomas Zezula


JDK9 is about to deprecated {{javah}} utility. Instead one is supposed to provide a special parameter to {{javac}}. However that complicates co-operation with *NetBeans* _compile on save_ support as used by [mx|https://github.com/graalvm/mx/]. The _CoS_ support only deals with {{.class} and resource files - not with native headers.

Currently there is no solution, the IDE {{JavaFileManager}} does not support {{StandardLocation.NATIVE_HEADER_OUTPUT}} at all. The IDE is not able to generate header files by the internal javac compiler. If fixed the IDE could generate these files into caches (the same approach is used now for AnnotationProcessors generated non source files) and the incremental compilation can copy these files into build.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)