JDK-8 introduced a ArrayList.replaceAll() which is causing the build issue
since the code is trying to use the local static method inside a custom
ArrayList in BuildBase.java, line 136.

https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#replaceAll-java.util.function.UnaryOperator-

Let me create an issue and commit the fix.

Enis

On Tue, Apr 19, 2016 at 1:45 PM, Enis Söztutar <e...@apache.org> wrote:

> The problem is that, I was getting this, but the build did not fail:
>
> 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
>
> Enis
>
> On Tue, Apr 19, 2016 at 1:36 PM, Enis Söztutar <e...@apache.org> wrote:
>
>> I think it is me. Let me check.
>>
>> I had updated the site using this
>> https://phoenix.apache.org/building_website.html
>>
>> Enis
>>
>> On Tue, Apr 19, 2016 at 1:26 PM, Nick Dimiduk <ndimi...@apache.org>
>> wrote:
>>
>>> Sending to the correct dev list.
>>>
>>> http://phoenix.apache.org/language/index.html
>>> http://phoenix.apache.org/language/functions.html
>>> http://phoenix.apache.org/language/datatypes.html
>>>
>>> On Tue, Apr 19, 2016 at 1:00 PM, Nick Dimiduk <ndimi...@apache.org>
>>> wrote:
>>>
>>>> Hey guys,
>>>>
>>>> Looks like the last site update missed something. Grammar, Functions,
>>>> and Data Types pages are all empty. Mind taking a look?
>>>>
>>>> Thanks,
>>>> Nick
>>>>
>>>
>>>
>>
>

Reply via email to