trying to emerge commons-net. Failing because javac is at 1.5 and enum is now a reserved word. Following files affected. src/java/org/apache/commons/net/ftp/FTP.java src/java/org/apache/commons/net/pop3/POP3Client.java src/java/org/apache/commons/net/pop3/POP3.java src/java/org/apache/commons/net/smtp/SMTP.java src/java/org/apache/commons/net/ProtocolCommandSupport.java src/java/examples/mail.java Reproducible: Always Steps to Reproduce: 1.emerge -av commons-net Actual Results: ... [javac] /var/tmp/portage/commons-net-1.2.2-r1/work/commons-net-1.2.2/src/java/examples/mail.java:51: as of release 1.5,'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.4 or lower to use 'enum' as an identifier) ... Expected Results: the emerge should work. tried alias javac="javac -source 1.4 " that didn't do the trick. I don't know emerge deep enough to get in and override javac. When I tried to fix the source... the checksum failed. Again... a lack of knowledge of how an emerge is built and executed.
*** This bug has been marked as a duplicate of 79206 ***