Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 86773

Summary: sun-java-1.5.2 ebuild warnings
Product: Gentoo Linux Reporter: Wayne <waynetg>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.