Anarchid / zkgbai

Zero-K Graph-Based AI
GNU General Public License v2.0
7 stars 3 forks source link

JDK9 build issue #5

Closed PAStheLoD closed 8 years ago

PAStheLoD commented 8 years ago

Hello!

compile:
    [javac] F:\projects\zkgbai\build.xml:23: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 82 source files to F:\projects\zkgbai\build
    [javac] F:\projects\zkgbai\src\zkgbai\gui\AdditiveComposite.java:16: error: as of release 9, '_' is a keyword, and may not be used as an identifier
    [javac]     public CompositeContext createContext(ColorModel srcColorModel, ColorModel dstColorModel, RenderingHints _) {
    [javac]                                                                                                              ^
    [javac] 1 error

After replacing _ with __ here things are find and compiling.

aeonios commented 8 years ago

Annoying.. making the universal "don't care variable" name into a keyword.. however I'm trying to port it away from graphics2D anyway so that bit of code won't exist, assuming that I can get the new library to work.