{"action":"closed","issue":{"url":"https://api.github.com/repos/ReadyTalk/avian/issues/410","labels_url":"https://api.github.com/repos/ReadyTalk/avian/issues/410/labels{/name}","comments_url":"https://api.github.com/repos/ReadyTalk/avian/issues/410/comments","events_url":"https://api.github.com/repos/ReadyTalk/avian/issues/410/events","html_url":"https://github.com/ReadyTalk/avian/issues/410","id":57254205,"number":410,"title":"Support building with the OpenJDK 1.8 class library","user":{"login":"dwijnand","id":344610,"avatar_url":"https://avatars.githubusercontent.com/u/344610?v=3","gravatar_id":"","url":"https://api.github.com/users/dwijnand","html_url":"https://github.com/dwijnand","followers_url":"https://api.github.com/users/dwijnand/followers","following_url":"https://api.github.com/users/dwijnand/following{/other_user}","gists_url":"https://api.github.com/users/dwijnand/gists{/gist_id}","starred_url":"https://api.github.com/users/dwijnand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwijnand/subscriptions","organizations_url":"https://api.github.com/users/dwijnand/orgs","repos_url":"https://api.github.com/users/dwijnand/repos","events_url":"https://api.github.com/users/dwijnand/events{/privacy}","received_events_url":"https://api.github.com/users/dwijnand/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-10T23:25:48Z","updated_at":"2015-02-27T21:14:53Z","closed_at":"2015-02-27T21:14:53Z","body":"I'm getting errors when trying to build with the OpenJDK class library, when using 1.8 (using 1.8.0_31 at the moment), see:\r\n\r\n```\r\n$ /usr/libexec/java_home\r\n/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home\r\n$ export JAVA_HOME=$(/usr/libexec/java_home)\r\n$ make openjdk=/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home\r\ncompiling build/macosx-x86_64-openjdk/tools/type-generator/main-build.o\r\ncompiling build/macosx-x86_64-openjdk/system/posix-build.o\r\ncompiling build/macosx-x86_64-openjdk/system/posix/crash-build.o\r\ncompiling build/macosx-x86_64-openjdk/system/posix/memory-build.o\r\ncompiling build/macosx-x86_64-openjdk/system/posix/signal-build.o\r\ncompiling build/macosx-x86_64-openjdk/finder-build.o\r\ncompiling build/macosx-x86_64-openjdk/util/arg-parser-build.o\r\nlinking build/macosx-x86_64-openjdk/generator\r\ncompiling classpath classes\r\nNote: Some input files use unchecked or unsafe operations.\r\nNote: Recompile with -Xlint:unchecked for details.\r\ngenerating build/macosx-x86_64-openjdk/type-enums.cpp\r\ngenerating build/macosx-x86_64-openjdk/type-declarations.cpp\r\ngenerating build/macosx-x86_64-openjdk/type-constructors.cpp\r\ngenerating build/macosx-x86_64-openjdk/type-initializations.cpp\r\ngenerating build/macosx-x86_64-openjdk/type-java-initializations.cpp\r\ngenerating build/macosx-x86_64-openjdk/type-name-initializations.cpp\r\ngenerating build/macosx-x86_64-openjdk/type-maps.cpp\r\ncompiling build/macosx-x86_64-openjdk/system/posix.o\r\ncompiling build/macosx-x86_64-openjdk/system/posix/crash.o\r\ncompiling build/macosx-x86_64-openjdk/system/posix/memory.o\r\ncompiling build/macosx-x86_64-openjdk/system/posix/signal.o\r\ncompiling build/macosx-x86_64-openjdk/finder.o\r\ncompiling build/macosx-x86_64-openjdk/machine.o\r\ncompiling build/macosx-x86_64-openjdk/util.o\r\ncompiling build/macosx-x86_64-openjdk/heap/heap.o\r\ncompiling build/macosx-x86_64-openjdk/compile.o\r\ncompiling build/macosx-x86_64-openjdk/classpath-openjdk.o\r\nsrc/classpath-openjdk.cpp:2389:10: error: no matching function for call to 'makeJmethod'\r\n  return makeJmethod(t,\r\n         ^~~~~~~~~~~\r\nbuild/macosx-x86_64-openjdk/type-declarations.cpp:5676:12: note: candidate function not viable: cannot convert from base class\r\n      pointer 'object' (aka 'vm::GcObject *') to derived class pointer 'vm::GcJclass *' for 7th argument\r\nGcJmethod* makeJmethod(Thread* t, uint8_t override, object securityCheckCache, uint8_t hasRealParameterData, object paramet...\r\n           ^\r\nsrc/classpath-openjdk.cpp:2370:8: note: candidate function not viable: requires 18 arguments, but 20 were provided\r\nobject makeJmethod(Thread* t,\r\n       ^\r\nsrc/classpath-openjdk.cpp:293:8: note: candidate function not viable: requires at most 3 arguments, but 20 were provided\r\nobject makeJmethod(Thread* t, GcMethod* vmMethod, int index = -1);\r\n       ^\r\nsrc/classpath-openjdk.cpp:2427:10: error: no matching function for call to 'makeJconstructor'\r\n  return makeJconstructor(t,\r\n         ^~~~~~~~~~~~~~~~\r\nbuild/macosx-x86_64-openjdk/type-declarations.cpp:5662:17: note: candidate function not viable: cannot convert from base class\r\n      pointer 'object' (aka 'vm::GcObject *') to derived class pointer 'vm::GcJclass *' for 7th argument\r\nGcJconstructor* makeJconstructor(Thread* t, uint8_t override, object securityCheckCache, uint8_t hasRealParameterData, obje...\r\n                ^\r\nsrc/classpath-openjdk.cpp:2411:8: note: candidate function not viable: requires 15 arguments, but 17 were provided\r\nobject makeJconstructor(Thread* t,\r\n       ^\r\nsrc/classpath-openjdk.cpp:295:8: note: candidate function not viable: requires at most 3 arguments, but 17 were provided\r\nobject makeJconstructor(Thread* t, GcMethod* vmMethod, int index = -1);\r\n       ^\r\n2 errors generated.\r\nmake: *** [build/macosx-x86_64-openjdk/classpath-openjdk.o] Error 1\r\n```"}}