Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86773 - sun-java-1.5.2 ebuild warnings
Summary: sun-java-1.5.2 ebuild warnings
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-26 07:48 UTC by Wayne
Modified: 2005-03-30 06:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wayne 2005-03-26 07:48:35 UTC
hi all

The warnings after emerging sun-java-1.5 mention that enum won't work because of an argument being passed to it. 

1) Can anyone please tell me how to view this message again without re-emerging the package.
2) Can I fix this problem? enum was the only reason for my upgrade to 1.5..

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-26 10:28:35 UTC
Be careful: ${P}'s Java compiler uses
'-source 1.5' as default. Some keywords such as 'enum'
are not valid identifiers any more in that mode,
which can cause incompatibility with certain sources.


it just means that enum is now a keyword, used by java. -source 1.5 is implied, i.e. the default. be carefull, 1.5 breaks things. that's the reason why it's hardmasked at the moment. 
Comment 2 Wayne 2005-03-30 06:21:08 UTC
Thanks, turns out the problem was with eclipse.