<feed xmlns='http://www.w3.org/2005/Atom'>
<title>toolchain_jack, branch replicant-6.0</title>
<subtitle>toolchain/jack
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/toolchain_jack/'/>
<entry>
<title>Revert "replace prebuilt ecj with ecj from Debian"</title>
<updated>2021-08-10T12:45:41+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2021-08-09T21:49:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/toolchain_jack/commit/?id=178652c980bc6b0372511a449229cb81e19790bb'/>
<id>178652c980bc6b0372511a449229cb81e19790bb</id>
<content type='text'>
This reverts commit 117dba7d6b317ddb608c1a568e013fe7ab946193.

Without that fix, the build fails in Trisquel 9 with the following error:
    jack-lib-compile-step2:
    [javac] Compiling 985 source files to
            [...]/toolchain/jack_jill/build/jack/build/jack-lib/classes
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/frontend/java/JackBatchCompiler.java:147:
            error: incompatible types: ArrayList&lt;ClasspathLocation&gt; cannot be converted to
	    ArrayList&lt;Classpath&gt;
    [javac]       super.addNewEntry(tmpPaths,
    [javac]                         ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstBinaryMethod.java:44:
            error: JAstBinaryMethod is not abstract and does not override abstract method
	    getParameterAnnotations(int,char[]) in IBinaryMethod
    [javac] class JAstBinaryMethod implements IBinaryMethod {
    [javac] ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstBinaryMethod.java:200:
            error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstBinaryType.java:59:
            error: JAstBinaryType is not abstract and does not override abstract method
	    getExternalAnnotationStatus() in IBinaryType
    [javac] class JAstBinaryType implements IBinaryType {
    [javac] ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstClasspath.java:44:
            error: JAstClasspath is not abstract and does not override abstract method
	    fetchLinkedJars(ClasspathSectionProblemReporter) in Classpath
    [javac] public class JAstClasspath extends ClasspathLocation {
    [javac]        ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstClasspath.java:142:
            error: fetchLinkedJars(ClasspathSectionProblemReporter) in JAstClasspath
	    cannot implement fetchLinkedJars(ClasspathSectionProblemReporter) in Classpath
    [javac]   public List&lt;? extends Classpath&gt; fetchLinkedJars(
    [javac]                                    ^
    [javac]   return type List&lt;? extends Classpath&gt; is not compatible with List&lt;Classpath&gt;
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstClasspath.java:65:
            error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstClasspath.java:75:
            error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstClasspath.java:87:
            error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstClasspath.java:130:
            error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstClasspath.java:141:
            error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/frontend/java/EcjLogger.java:77:
            error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
    [javac] 12 errors

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 117dba7d6b317ddb608c1a568e013fe7ab946193.

Without that fix, the build fails in Trisquel 9 with the following error:
    jack-lib-compile-step2:
    [javac] Compiling 985 source files to
            [...]/toolchain/jack_jill/build/jack/build/jack-lib/classes
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/frontend/java/JackBatchCompiler.java:147:
            error: incompatible types: ArrayList&lt;ClasspathLocation&gt; cannot be converted to
	    ArrayList&lt;Classpath&gt;
    [javac]       super.addNewEntry(tmpPaths,
    [javac]                         ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstBinaryMethod.java:44:
            error: JAstBinaryMethod is not abstract and does not override abstract method
	    getParameterAnnotations(int,char[]) in IBinaryMethod
    [javac] class JAstBinaryMethod implements IBinaryMethod {
    [javac] ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstBinaryMethod.java:200:
            error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstBinaryType.java:59:
            error: JAstBinaryType is not abstract and does not override abstract method
	    getExternalAnnotationStatus() in IBinaryType
    [javac] class JAstBinaryType implements IBinaryType {
    [javac] ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstClasspath.java:44:
            error: JAstClasspath is not abstract and does not override abstract method
	    fetchLinkedJars(ClasspathSectionProblemReporter) in Classpath
    [javac] public class JAstClasspath extends ClasspathLocation {
    [javac]        ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstClasspath.java:142:
            error: fetchLinkedJars(ClasspathSectionProblemReporter) in JAstClasspath
	    cannot implement fetchLinkedJars(ClasspathSectionProblemReporter) in Classpath
    [javac]   public List&lt;? extends Classpath&gt; fetchLinkedJars(
    [javac]                                    ^
    [javac]   return type List&lt;? extends Classpath&gt; is not compatible with List&lt;Classpath&gt;
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstClasspath.java:65:
            error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstClasspath.java:75:
            error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstClasspath.java:87:
            error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstClasspath.java:130:
            error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/ecj/loader/jast/JAstClasspath.java:141:
            error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] [...]/toolchain/src/jack/jack/src/com/android/jack/frontend/java/EcjLogger.java:77:
            error: method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
    [javac] 12 errors

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump Java version to fix the build under Trisquel 9</title>
<updated>2021-08-10T12:45:27+00:00</updated>
<author>
<name>Denis 'GNUtoo' Carikli</name>
<email>GNUtoo@cyberdimension.org</email>
</author>
<published>2021-07-18T23:10:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/toolchain_jack/commit/?id=200b4b0d9c782fe1a0930f3384f675bed06d6c09'/>
<id>200b4b0d9c782fe1a0930f3384f675bed06d6c09</id>
<content type='text'>
Trisquel 9 has two java versions: Java 8 and Java 11.

Java 8 doesn't support building for Java 1.5 / Java5 anymore[1], so
we need to bump the Java version to at least Java 1.6 for it to build.

And without that fix we have many compilation errors like this one,
on each components that are built against Java 1.5 / Java 5:
(modified to fit the 70 characters limit):
    [ERROR] COMPILATION ERROR :
    [INFO] -----------------------------------------------------------
    [ERROR] Source option 5 is no longer supported. Use 6 or later.
    [ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
    [INFO] 2 errors
    [INFO] -----------------------------------------------------------
    [INFO] -----------------------------------------------------------
    [INFO] Reactor Summary for Simple 6.0.1:
    [INFO]
    [INFO] Simple Common ..........................FAILURE [  1.443 s]
    [INFO] Simple Transport ...................................SKIPPED
    [INFO] Simple HTTP ........................................SKIPPED
    [INFO] Simple .............................................SKIPPED
    [INFO] -----------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] -----------------------------------------------------------
    [INFO] Total time:  1.873 s
    [INFO] Finished at: 2021-07-19T01:28:41+02:00
    [INFO] -----------------------------------------------------------
    [ERROR] Failed to execute goal
            org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
            (default-compile) on project simple-common: Compilation
            failure: Compilation failure:
    [ERROR] Source option 5 is no longer supported. Use 6 or later.
    [ERROR] Target option 1.5 is no longer supported. Use 1.6 or
            later.
    [ERROR] -&gt; [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven
            with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug
            logging.
    [ERROR]
    [ERROR] For more information about the errors and possible
            solutions, please read the following articles:
    [ERROR] [Help 1]
    http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

References:
-----------
[1]https://openjdk.java.net/jeps/182

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Trisquel 9 has two java versions: Java 8 and Java 11.

Java 8 doesn't support building for Java 1.5 / Java5 anymore[1], so
we need to bump the Java version to at least Java 1.6 for it to build.

And without that fix we have many compilation errors like this one,
on each components that are built against Java 1.5 / Java 5:
(modified to fit the 70 characters limit):
    [ERROR] COMPILATION ERROR :
    [INFO] -----------------------------------------------------------
    [ERROR] Source option 5 is no longer supported. Use 6 or later.
    [ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
    [INFO] 2 errors
    [INFO] -----------------------------------------------------------
    [INFO] -----------------------------------------------------------
    [INFO] Reactor Summary for Simple 6.0.1:
    [INFO]
    [INFO] Simple Common ..........................FAILURE [  1.443 s]
    [INFO] Simple Transport ...................................SKIPPED
    [INFO] Simple HTTP ........................................SKIPPED
    [INFO] Simple .............................................SKIPPED
    [INFO] -----------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] -----------------------------------------------------------
    [INFO] Total time:  1.873 s
    [INFO] Finished at: 2021-07-19T01:28:41+02:00
    [INFO] -----------------------------------------------------------
    [ERROR] Failed to execute goal
            org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
            (default-compile) on project simple-common: Compilation
            failure: Compilation failure:
    [ERROR] Source option 5 is no longer supported. Use 6 or later.
    [ERROR] Target option 1.5 is no longer supported. Use 1.6 or
            later.
    [ERROR] -&gt; [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven
            with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug
            logging.
    [ERROR]
    [ERROR] For more information about the errors and possible
            solutions, please read the following articles:
    [ERROR] [Help 1]
    http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

References:
-----------
[1]https://openjdk.java.net/jeps/182

Signed-off-by: Denis 'GNUtoo' Carikli &lt;GNUtoo@cyberdimension.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>replace prebuilt ecj with ecj from Debian</title>
<updated>2016-12-11T21:16:28+00:00</updated>
<author>
<name>Wolfgang Wiedmeyer</name>
<email>wolfgit@wiedmeyer.de</email>
</author>
<published>2016-12-11T21:16:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/toolchain_jack/commit/?id=476637ac146a154903bd8eac67e20467ebcff91a'/>
<id>476637ac146a154903bd8eac67e20467ebcff91a</id>
<content type='text'>
works on Debian Stretch

Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
works on Debian Stretch

Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Ecj to 4.5M7</title>
<updated>2016-12-11T21:10:55+00:00</updated>
<author>
<name>mikaelpeltier</name>
<email>mikaelpeltier@google.com</email>
</author>
<published>2015-05-12T07:15:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/toolchain_jack/commit/?id=024c695f64424de40960430a2869cb88c5ec5994'/>
<id>024c695f64424de40960430a2869cb88c5ec5994</id>
<content type='text'>
Change-Id: If63eaaf5dda587d3cd1d19a7adcaf3c3ee5d2501
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: If63eaaf5dda587d3cd1d19a7adcaf3c3ee5d2501
</pre>
</div>
</content>
</entry>
<entry>
<title>Guava build fixes for Java 8</title>
<updated>2016-12-09T01:48:30+00:00</updated>
<author>
<name>Wolfgang Wiedmeyer</name>
<email>wolfgit@wiedmeyer.de</email>
</author>
<published>2016-12-09T01:48:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/toolchain_jack/commit/?id=da4fc183b552020e0a04e47f7b8967b0e6c459d0'/>
<id>da4fc183b552020e0a04e47f7b8967b0e6c459d0</id>
<content type='text'>
This patch is based on the "Backport Java 8 compile time break workaround."
patch[1] that was committed in external/guava.

[1] https://github.com/CyanogenMod/android_external_guava/commit/99b0ee6f5b3a3cd22f340e4e84581fbedc81423a

Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch is based on the "Backport Java 8 compile time break workaround."
patch[1] that was committed in external/guava.

[1] https://github.com/CyanogenMod/android_external_guava/commit/99b0ee6f5b3a3cd22f340e4e84581fbedc81423a

Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove useless generics in method dealing with library enums</title>
<updated>2016-12-09T01:45:08+00:00</updated>
<author>
<name>Jean-Marie Henaff</name>
<email>jmhenaff@google.com</email>
</author>
<published>2015-07-22T09:23:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/toolchain_jack/commit/?id=83670cb2f2c25105acd35b6b120c70f86fb8dd89'/>
<id>83670cb2f2c25105acd35b6b120c70f86fb8dd89</id>
<content type='text'>
Bug: 22630667

Change-Id: I0a4d4c0e8c59ea159b6ea127f12b96512190d990
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 22630667

Change-Id: I0a4d4c0e8c59ea159b6ea127f12b96512190d990
</pre>
</div>
</content>
</entry>
<entry>
<title>move dexcomparator output in jack_jill build dir</title>
<updated>2016-02-08T16:03:59+00:00</updated>
<author>
<name>Wolfgang Wiedmeyer</name>
<email>wolfgit@wiedmeyer.de</email>
</author>
<published>2016-02-08T16:03:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/toolchain_jack/commit/?id=0ee96b56528b2d201258cd265928ae6239bf8083'/>
<id>0ee96b56528b2d201258cd265928ae6239bf8083</id>
<content type='text'>
Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>remove prebuilt antlr and use antlr from Debian instead</title>
<updated>2016-02-08T15:56:10+00:00</updated>
<author>
<name>Wolfgang Wiedmeyer</name>
<email>wolfgit@wiedmeyer.de</email>
</author>
<published>2016-02-08T15:56:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/toolchain_jack/commit/?id=0362c6eb271f15b461038ff475c8520b609cf61d'/>
<id>0362c6eb271f15b461038ff475c8520b609cf61d</id>
<content type='text'>
Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ignore the parser output</title>
<updated>2016-02-08T14:52:19+00:00</updated>
<author>
<name>Wolfgang Wiedmeyer</name>
<email>wolfgit@wiedmeyer.de</email>
</author>
<published>2016-02-08T14:52:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/toolchain_jack/commit/?id=1c334779e728cfa04e1402b1e6a858fbe70e59ec'/>
<id>1c334779e728cfa04e1402b1e6a858fbe70e59ec</id>
<content type='text'>
Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>move build dirs out of repo</title>
<updated>2016-02-08T14:30:40+00:00</updated>
<author>
<name>Wolfgang Wiedmeyer</name>
<email>wolfgit@wiedmeyer.de</email>
</author>
<published>2016-02-08T14:30:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/toolchain_jack/commit/?id=193fc70a4480e1f2498ec4afcf3c7014dc029b82'/>
<id>193fc70a4480e1f2498ec4afcf3c7014dc029b82</id>
<content type='text'>
add simple out dirs to gitignore

Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add simple out dirs to gitignore

Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
