View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0005735 | AI | AI | public | 2017-08-30 23:41 | 2017-09-04 19:21 | ||||
Reporter | Faux | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Summary | 0005735: HughAI fails to build with Java 9 | ||||||||
Description | Java 9 is due out in three weeks, and users might be picking it up some time soon after that. Debian/Ubuntu are planning to switch as soon as possible. Currently the Spring build fails (in Debian with Java 9) as HughAI fails to build. Here are the errors: hughai/ui/ConsoleJava.java:31: error: package javax.activation is not visible import javax.activation.FileTypeMap; ^ (package javax.activation is declared in module java.activation, which is not in the module graph) hughai/ui/ConsoleEcma.java:31: error: package javax.activation is not visible import javax.activation.FileTypeMap; ^ (package javax.activation is declared in module java.activation, which is not in the module graph) These appear to be imports that are unused, unless I've missed something? If they are removed, then maybe the build will get further and find other errors, or it might succeed, which would be awesome. I don't have a build environment setup, just relying on the Debian builders here. There's some notes about javax.activation's removal on the Debian Wiki here: https://wiki.debian.org/Java/Java9Pitfalls | ||||||||
Steps To Reproduce | Install Java 9. For the next three weeks, these are still in pre-release, so would need to be installed from http://jdk.java.net/9/ , or from Debian/Ubuntu pre-release versions. Attempt to build Spring with the HughAI enabled. | ||||||||
Tags | ai, java9, linux | ||||||||
Attached Files |
|
Notes | |
hokomoko (developer) 2017-08-31 00:00 |
Probably removing it will be less work than trying to make it work on multiple versions. |
abma (administrator) 2017-08-31 12:07 |
Fix a2ddbcb6619b71d42f6e7ddf5e614f8e383770d1 committed to develop branch: update HughAI: try to fix 0005735 (compile error with java 9), repo: spring changeset id: 8646 |
abma (administrator) 2017-08-31 12:08 |
@Faux does the change fix the compile error? |
abma (administrator) 2017-09-04 19:21 |
i assume so. if not, please reopen. |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2017-08-30 23:41 | Faux | New Issue | |
2017-08-30 23:41 | Faux | Tag Attached: ai | |
2017-08-30 23:41 | Faux | Tag Attached: linux | |
2017-08-30 23:41 | Faux | Tag Attached: java9 | |
2017-08-31 00:00 | hokomoko | Note Added: 0018308 | |
2017-08-31 12:07 | abma | Changeset attached | => spring develop a2ddbcb6 |
2017-08-31 12:07 | abma | Note Added: 0018313 | |
2017-08-31 12:07 | abma | Assigned To | => abma |
2017-08-31 12:07 | abma | Status | new => resolved |
2017-08-31 12:07 | abma | Resolution | open => fixed |
2017-08-31 12:08 | abma | Status | resolved => feedback |
2017-08-31 12:08 | abma | Resolution | fixed => reopened |
2017-08-31 12:08 | abma | Note Added: 0018314 | |
2017-09-04 19:21 | abma | Status | feedback => resolved |
2017-09-04 19:21 | abma | Resolution | reopened => fixed |
2017-09-04 19:21 | abma | Note Added: 0018345 |