1 |
Joshua Nichols wrote: |
2 |
> Caster wrote: |
3 |
>>> Joshua Nichols wrote: |
4 |
>>> > Ah... right. It's not a problem that 1.5 is being used to compile it. |
5 |
>>>> The build.xml files get rewritten to make sure 1.4 bytecode gets compiled. |
6 |
>>>> |
7 |
>>>> By chance, have you configured anything in |
8 |
>>>> /etc/java-config-2/build/compilers.conf ? By default, it should use the |
9 |
>>>> lowest possible VM, but it can be configured more finely. |
10 |
>>>> |
11 |
>>>> Josh |
12 |
>>> No, didn't change that. It has only the commented example line |
13 |
>>> #COMPILERS="ecj-3.1 jikes javac" |
14 |
>>> I don't see how to specify JDK version in there :) |
15 |
> |
16 |
> I actually meant compilers.conf, not jdk.conf |
17 |
> |
18 |
|
19 |
I take that as "I actually meant jdk.conf, not compilers.conf" :) |
20 |
No, didn't change jdk.conf neither, contains only commented examples as |
21 |
well. |
22 |
|
23 |
>>> This is getting confusing, you have generation-1 system VM, generation-2 |
24 |
>>> system VM, this compilers.conf... Any docs that explain how all that |
25 |
>>> works, what gets used where? :) |
26 |
> |
27 |
> https://svn.gentooexperimental.org/svn/java/migration/docs/java-user.html |
28 |
> |
29 |
> Generation-1 system vm is used by root, and conseuqnently for emerging |
30 |
> packages that are using the old eclasses, ie java-pkg (which would be |
31 |
> most everything at this point). |
32 |
> |
33 |
> Generation-2 system vm is used for root. |
34 |
> |
35 |
> Generation-2 build vm is configured by the jdk.conf, and is used for |
36 |
> emerging packages which use the new eclasses, ie java-pkg-2. |
37 |
> |
38 |
|
39 |
Thanks for explaining. |
40 |
|
41 |
>>> Seems ant-tasks is affected as well, and can't be built because of that. |
42 |
>>> http://bugs.gentoo.org/show_bug.cgi?id=132764 |
43 |
>>> |
44 |
> |
45 |
> Quite aware of the bug now. It didn't happen on the system I was testing |
46 |
> on, but now I'm hitting it as well. |
47 |
> |
48 |
|
49 |
After overlay svn update it's emerged ok, although still using 1.5 jdk. |
50 |
Just the "By default, it should use the lowest possible VM" doesn't seem |
51 |
to hold :) |
52 |
|
53 |
Caster |
54 |
-- |
55 |
gentoo-java@g.o mailing list |