Gesendet: Freitag, 22. September 2017 um 16:06 Uhr Von: "Dominique Leuenberger / DimStar" <dimstar@opensuse.org> An: opensuse-packaging@opensuse.org Betreff: Re: [opensuse-packaging] Java-build on TW fails suddenly: [javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.
On Fri, 2017-09-22 at 16:25 +0300, Axel Braun wrote:
As Robert already mentioned, in most cases switching the source and target version to 1.6 is sufficient; in some cases, the code needs patching if it actually violates Java 6 conventions.
The current build already requires java6 or higher, that's the funny thing...
Maybe - but the source claims to be a java 1.5 source (or at least in parts); up to java 8 (1.8, 1.5 sources were still interpreted; but it's the time when Java wants to start cleaning up;
Yes , the source claimed it it 1.5. I shifted this to 1.6, and immediately get a different error (rest of the source unchanged): [ 42s] [javac] /home/abuild/rpmbuild/BUILD/projectlibre-1.7.0/openproj_contrib/src/com/projity/contrib/util/LogFactory.java:33: error: unmappable character for encoding ASCII [ 42s] [javac] Attribution Information: Attribution Copyright Notice: Copyright ? 2006, 2007 [ 42s] [javac] ^ where is encoding US-ASCII suddenly coming from? Thanks Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org