<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-java.git/recipes-core/ecj, branch rocko</title>
<subtitle>[no description]</subtitle>
<id>https://git.enea.com/cgit/linux/meta-java.git/atom?h=rocko</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-java.git/atom?h=rocko'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/'/>
<updated>2017-09-23T20:48:59+00:00</updated>
<entry>
<title>Move from ${COREBASE}/LICENSE to ${COMMON_LICENSE_DIR}/MIT</title>
<updated>2017-09-23T20:48:59+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2017-09-23T20:48:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=4a33f4c06f6fca3c8e7ff79f352996b3c07014cf'/>
<id>urn:sha1:4a33f4c06f6fca3c8e7ff79f352996b3c07014cf</id>
<content type='text'>
The OE-Core now warns when someone uses ${COREBASE}/LICENSE so we
should move to ${COMMON_LICENSE_DIR}/MIT to fix this deprecated use.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>libecj: fix build issues by adding missing dependencies</title>
<updated>2017-03-03T10:15:53+00:00</updated>
<author>
<name>Adrian Calianu</name>
<email>adrian.calianu@enea.com</email>
</author>
<published>2017-03-02T12:50:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=67e48693501bddb80745b9735b7b3d4d28dce9a1'/>
<id>urn:sha1:67e48693501bddb80745b9735b7b3d4d28dce9a1</id>
<content type='text'>
Signed-off-by: Adrian Calianu &lt;adrian.calianu@enea.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>do_unpackpost: explicitly set working directory</title>
<updated>2016-07-22T14:46:51+00:00</updated>
<author>
<name>Patrick Ohly</name>
<email>patrick.ohly@intel.com</email>
</author>
<published>2016-07-20T09:48:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=4ae7c0c40e1f8fccc98d2f58cf61ef58c5a27da6'/>
<id>urn:sha1:4ae7c0c40e1f8fccc98d2f58cf61ef58c5a27da6</id>
<content type='text'>
bitbake rev 67a7b8b02 "build: don't use $B as the default cwd for
functions" (included in current bitbake master) breaks the assumption
that do_unpackpost runs inside the build directory. Now that has to be
set explicitly, which is also okay for older bitbake versions.

Signed-off-by: Patrick Ohly &lt;patrick.ohly@intel.com&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>java-bootstrapping: Do not rely on hardcoded paths</title>
<updated>2016-04-29T10:17:07+00:00</updated>
<author>
<name>Erkka Kääriä</name>
<email>erkka.kaaria@intel.com</email>
</author>
<published>2016-04-29T06:48:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=1b975523b8d0467b2e3a44097825c30cdc9e3944'/>
<id>urn:sha1:1b975523b8d0467b2e3a44097825c30cdc9e3944</id>
<content type='text'>
Various paths to files are hardcoded in either helper scripts or the
resulting binaries (like path to Java class libraries). While this works
well when using the files on the build machine, things start breaking
down when the sstate gets shared between multiple workers in CI, as
the paths between workers can differ.

Instead of using these hardcoded paths, form the paths at runtime and pass them as parameters when required.

Signed-off-by: Erkka Kääriä &lt;erkka.kaaria@intel.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8-native: fix improper do_install and PROVIDES</title>
<updated>2016-01-04T11:21:06+00:00</updated>
<author>
<name>Jackie Huang</name>
<email>jackie.huang@windriver.com</email>
</author>
<published>2015-12-18T02:40:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=dfb21b449dd652b99bc4725796d143e8c9779cd6'/>
<id>urn:sha1:dfb21b449dd652b99bc4725796d143e8c9779cd6</id>
<content type='text'>
We had:
virtual/jar-native provided by fastjar-native
virtual/java-native provided by cacao-native and jamvm-native
virtual/javac-native provided by ecj-bootstrap-native

Then openjdk-8-native added and also provides:
virtual/java-native and virtual/javac-native
(it also installs ${STAGING_BINDIR_NATIVE}/jar but
doesn't add virtual/jar-native in the PROVIDES)

which introduces circular dependencies,
java-bootstrap-components.bbclass is to avoid the
circular dependencies but it's not a correct way
since it make two conflicted packages build into
the same sysroot:

DEPENDS_prepend_class-native = " ecj-bootstrap-native "
DEPENDS_prepend_class-target = " virtual/javac-native "

virtual/javac-native is provided by openjdk-8-native,
and it assumed that ecj-bootstrap-native, fastjar-native and
cacao-native/jamvm-native are always built before openjdk-8-native,
then in the do_install of penjdk-8-native, it removes them from
staging dirs first, then install (create symlinks for) these files
in staging dirs directly, which results with empty sstate and
builds from sstate cache or builds not in this assumption
will fail.

The fixes here includes:
- Revert "meta-java: rely on well known bootstrap-path" in
  previous commit to remove the improper
  java-bootstrap-components.bbclass

- Do not let openjdk-8-native provides jar, java and javac,
  just like what we do in icedtea7-native, which can provides
  but not to avoid circular dependencies and conflicts.

- make cacao-native back to provide virtual/java-native,
  and ecj-bootstrap-native back to provide virtual/javac-native

- Add back provider settings in README.

- Remove the update-alternatives in openjdk-8-native,
  it doesn't work for native package.

Signed-off-by: Jackie Huang &lt;jackie.huang@windriver.com&gt;
</content>
</entry>
<entry>
<title>Revert "meta-java: rely on well known bootstrap-path"</title>
<updated>2016-01-04T11:21:06+00:00</updated>
<author>
<name>Jackie Huang</name>
<email>jackie.huang@windriver.com</email>
</author>
<published>2015-12-23T06:26:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=ec7b984fbd0662b7aa1707f229ab09c555bb2cf6'/>
<id>urn:sha1:ec7b984fbd0662b7aa1707f229ab09c555bb2cf6</id>
<content type='text'>
This reverts commit 04d5d0bf414c05ca59618d77f17ff9898aa1c566.

Detail reason is in the following commit.

Signed-off-by: Jackie Huang &lt;jackie.huang@windriver.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8: add recipes for openjdk-8 and openjre-8</title>
<updated>2015-12-08T15:43:40+00:00</updated>
<author>
<name>Jens Rehsack</name>
<email>rehsack@gmail.com</email>
</author>
<published>2015-12-08T13:52:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=bac3b9acee5110390d15d38dacdb1622e31b2238'/>
<id>urn:sha1:bac3b9acee5110390d15d38dacdb1622e31b2238</id>
<content type='text'>
This adds openjdk-8 for native and target builds and allows a stripped
openjre-8 being built as well instead of trying to cherry-pick jre
components from jdk-image.

The recipes allow building openjdk-8 with or without:
* x11
* cups
* alsa/pulseaudio
and let packager enable unlimited-crypto, if desired.

To support certificate based java libraries, cacerts is created based on
ca-certificates from OE-core.

Since there can be only one PROVIDES for virtual/java-native and virtual/javac-native,
move the provides to openjdk-8-native (I think everyone agrees it's a better
choice than ecj-bootstrap-native).

Plus: Applying a fix from openjdk-9 repository which fixes build issues using gcc5

Signed-off-by: Jens Rehsack &lt;sno@netbsd.org&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>meta-java: rely on well known bootstrap-path</title>
<updated>2015-12-08T15:43:35+00:00</updated>
<author>
<name>Jens Rehsack</name>
<email>rehsack@gmail.com</email>
</author>
<published>2015-12-08T13:51:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=04d5d0bf414c05ca59618d77f17ff9898aa1c566'/>
<id>urn:sha1:04d5d0bf414c05ca59618d77f17ff9898aa1c566</id>
<content type='text'>
Instead of potential circular depending virtual/javac-native (even this
recipe provides such a useable java-native), rely on well known path
via cacao-native to build up to icedtea7-native in reliable manner.

virtual/javac-native should be used by parts not belonging to the bootstrap
phase.

Signed-off-by: Jens Rehsack &lt;sno@netbsd.org&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>ecj-initial.in: Disable multithreading to mitigate segfaulting</title>
<updated>2015-11-10T12:56:21+00:00</updated>
<author>
<name>Erkka Kääriä</name>
<email>erkka.kaaria@intel.com</email>
</author>
<published>2015-11-10T06:55:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=0d7ba0ff39a332b0f93c4958370b2c7db9ea0e30'/>
<id>urn:sha1:0d7ba0ff39a332b0f93c4958370b2c7db9ea0e30</id>
<content type='text'>
Cacao-initial-native suffers from sporadic segmentation faults, when the Java
program uses multiple Java threads, due to a race condition. In particular,
jamvm-native and classpath-native builds would occasionally fail as the
eclipse compiler used during build task by default uses multiple threads.

As fixing the race condition would require large changes to the
cacao-initial-native codebase, and as it is only used briefly during the
bootstrapping process, it is easier and safer to just force ecj-initial to run
in a singlethreaded mode.

Signed-off-by: Erkka Kääriä &lt;erkka.kaaria@intel.com&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>cacao-initial-native, jamvm-initial-native: provide virtual/java-initial-native</title>
<updated>2015-03-31T16:48:09+00:00</updated>
<author>
<name>Mario Domenech Goulart</name>
<email>mario@ossystems.com.br</email>
</author>
<published>2015-03-31T13:22:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=ff169c8e4337253f509f19aa933ce2b70d838a99'/>
<id>urn:sha1:ff169c8e4337253f509f19aa933ce2b70d838a99</id>
<content type='text'>
Since bd9c6023, virtual/java-initial is provided by
cacao-initial-native and jamvm-initial-native.  For consistency, this
commit makes them provide virtual/java-initial-native instead.

Signed-off-by: Mario Domenech Goulart &lt;mario@ossystems.com.br&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
</feed>
