Jira (FACT-1844) JDK 10 has removed javah breaking the build

4 views
Skip to first unread message

Mark Levitt (JIRA)

unread,
Apr 14, 2018, 5:40:02 PM4/14/18
to puppe...@googlegroups.com
Mark Levitt created an issue
 
Facter / Bug FACT-1844
JDK 10 has removed javah breaking the build
Issue Type: Bug Bug
Affects Versions: FACT 3.11.0
Assignee: Mark Levitt
Components: CLI
Created: 2018/04/14 2:39 PM
Environment:

JDK 10

Priority: Major Major
Reporter: Mark Levitt

JDK 9 deprecated javah and stated it would be removed in the next major release. JDK 10 has made good on this and requires invocation with

  javac -h <dir>

instead of the existing

  javah -d <dir>

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Mark Levitt (JIRA)

unread,
Apr 14, 2018, 7:05:02 PM4/14/18
to puppe...@googlegroups.com
Mark Levitt updated an issue

Tried building earlier tags (e.g. 3.5 thru 3.9.x) on my mac but had compile errors for 'make . Can reproduce the issue faster all versions with a JDK10 by running

rm -f lib/src/java/com_puppetlabs_Facter.h

rm -rf build; mkdir build; cd build

cmake ..; make facter-jruby

Change By: Mark Levitt
Affects Version/s: FACT 3.10.0

Mark Levitt (JIRA)

unread,
Apr 14, 2018, 10:35:02 PM4/14/18
to puppe...@googlegroups.com
Mark Levitt updated an issue
Change By: Mark Levitt
Environment: JDK 10 on macos 10.12.6

Mark Levitt (JIRA)

unread,
Apr 14, 2018, 11:32:02 PM4/14/18
to puppe...@googlegroups.com
Mark Levitt updated an issue
JDK 9 deprecated javah and stated it would be removed in the next major release. JDK 10 has made good on this and requires invocation with

{{  javac -h <dir>}}

instead of the existing

{{  javah -d <dir>}}


 

Github PR changing CMakeLists.txt correcting issue is https://github.com/puppetlabs/facter/pull/1714

Branan Riley (JIRA)

unread,
May 21, 2018, 4:04:03 PM5/21/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Team: Platform OS

Branan Riley (JIRA)

unread,
May 21, 2018, 4:06:02 PM5/21/18
to puppe...@googlegroups.com
Branan Riley updated an issue
Change By: Branan Riley
Sprint: Platform OS Kanban

Branan Riley (JIRA)

unread,
May 21, 2018, 4:07:03 PM5/21/18
to puppe...@googlegroups.com

Casey Williams (JIRA)

unread,
Jun 14, 2018, 6:04:02 PM6/14/18
to puppe...@googlegroups.com
Casey Williams commented on Bug FACT-1844
 
Re: JDK 10 has removed javah breaking the build

Changes requested - moving to Needs Information for now.

Alexandru Popa (JIRA)

unread,
Aug 14, 2019, 7:42:02 AM8/14/19
to puppe...@googlegroups.com
Alexandru Popa updated an issue
 
Change By: Alexandru Popa
Fix Version/s: FACT 3.14.3

Alexandru Popa (JIRA)

unread,
Aug 14, 2019, 9:09:03 AM8/14/19
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages