Building Valhalla

Rahman USTA rahman.usta.88 at gmail.com
Sat Dec 3 15:29:41 UTC 2016


Hi Maurizo,

It is compiled with JDK 8, but produced JDK doesn't compile for example
List <int> list;

What I'm missing here? Which features are implemented?

Thanks

2 Ara 2016 23:40 tarihinde "Maurizio Cimadamore" <
maurizio.cimadamore at oracle.com> yazdı:

> I think you are using a bootstrap JDK that is too recent (looks like JDK 9
> b146?).
>
> Try using JDK 8 as bootstrap.
>
> Maurizio
>
> On 02/12/16 19:58, Rahman USTA wrote:
>
>> Hello,
>>
>> I'm getting following errors when I try to build Valhalla.
>>
>> Java HotSpot(TM) 64-Bit Server VM (build 9-ea+146, mixed mode)
>>
>> Building target 'images' in configuration
>> 'linux-x86_64-normal-server-release'
>> Compiling 1043 files for BUILD_INTERIM_LANGTOOLS
>>
>> ERROR: Build failed for target 'images' in configuration
>> 'linux-x86_64-normal-server-release' (exit code 2)
>> === Output from failing command(s) repeated here ===
>> * For target
>> buildtools_langtools_interim_classes__the.BUILD_INTERIM_LANGTOOLS_batch:
>> /opt/valhalla/langtools/src/java.compiler/share/classes/java
>> x/annotation/processing/AbstractProcessor.java:26:
>> error: package exists in another module: java.compiler
>> package javax.annotation.processing;
>> ^
>> /opt/valhalla/langtools/src/java.compiler/share/classes/java
>> x/annotation/processing/Completion.java:26:
>> error: package exists in another module: java.compiler
>> package javax.annotation.processing;
>> ^
>> /opt/valhalla/langtools/src/java.compiler/share/classes/java
>> x/annotation/processing/Completions.java:26:
>> error: package exists in another module: java.compiler
>> package javax.annotation.processing;
>> ^
>> /opt/valhalla/langtools/src/java.compiler/share/classes/java
>> x/annotation/processing/Filer.java:26:
>> error: package exists in another module: java.compiler
>> package javax.annotation.processing;
>> ^
>>     ... (rest of output omitted)
>> === End of repeated output ===
>> No indication of failed target found.
>> Hint: Try searching the build log for '] Error'.
>> Hint: If caused by a warning, try configure --disable-warnings-as-errors.
>>
>> How can I solve this issue ?
>>
>> Thanks
>>
>>
>


More information about the valhalla-dev mailing list