Changeset b7e1917


Ignore:
Timestamp:
02/25/2018 02:20:19 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, ken/refactor-virt, lazarus, perl-modules, qt5new, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
f161544
Parents:
b6fa7bb
Message:

Fix junit for building with java 9, and tag it

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19870 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/junit.xml

    rb6fa7bb rb7e1917  
    3838    </para>
    3939
    40     &lfs81_checked;
     40    &lfs82_checked;
    4141
    4242    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    103103
    104104<screen><userinput>sed -i '\@/docs/@a&lt;arg value="-Xdoclint:none"/&gt;' build.xml</userinput></screen>
     105
     106    <para>
     107      With <application>Java 9</application>, the minimum accepted code version
     108      is 1.6. However, the build system passes <option>-source 1.5</option>,
     109      while the junit code can perfectly be compiled for a Java 8 JVM. Change
     110      that by issuing the following command:
     111    </para>
     112
     113<screen><userinput>sed -i 's/1\.5/1.8/' build.xml</userinput></screen>
    105114
    106115    <para>
Note: See TracChangeset for help on using the changeset viewer.