[ https://issues.apache.org/jira/browse/PHOENIX-2843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15250291#comment-15250291 ]
Enis Soztutar commented on PHOENIX-2843: ---------------------------------------- Thanks Nick. bq. What's org.h2? Should this be pushed upstream? Seems that our docs structure has been copy-pasted from H2 database: https://searchcode.com/codesearch/view/19935917/. > Phoenix-site does not build with JDK-8 > -------------------------------------- > > Key: PHOENIX-2843 > URL: https://issues.apache.org/jira/browse/PHOENIX-2843 > Project: Phoenix > Issue Type: Bug > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Fix For: 4.8.0 > > Attachments: PHOENIX-2843_v1.patch > > > Trying to build the phoenix-site with JDK-8 fails with the following: > {code} > HW10676:phoenix-docs$ ./build.sh docs > src/tools/org/h2/build/BuildBase.java:136: error: no suitable method found > for replaceAll(String,String,String) > pattern = replaceAll(pattern, "/", File.separator); > ^ > method List.replaceAll(UnaryOperator<File>) is not applicable > (actual and formal argument lists differ in length) > method ArrayList.replaceAll(UnaryOperator<File>) is not applicable > (actual and formal argument lists differ in length) > 1 error > Error: Could not find or load main class org.h2.build.Build > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)