Re: NetBeans dev build change to JDK8 & merge of JDK9 branch
Martin Balin <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.devel |
|---|---|
| Message-ID | <[email protected]> |
We checked the build using JDK8 on Windows as well and it passes.
Thanks' for reminding us about windows build
Martin
On 20.11.2015 21:15, Ernie Rael wrote:
> On 11/20/2015 5:48 AM, Martin Balin wrote:
>> Hello,
>>
>>
>> On 18.11.2015 19:57, Ernie Rael wrote:
>>> Greetings,
>>>
>>> The issue"can not build main-silver with jdk8" [2] below is not
>>> marked fix and still fails as of a few minutes ago with a freshly
>>> updated repository. Seems this should be fixed before the change to
>>> jdk8 is made.
>>>
>> It is not clear to me where you took the sources, but fixes for build
>> with JDK8 are being done on a branch. It will be in "production" as a
>> part of the build switch to JDK8 and merge.
>
> The referenced bug is about jdk8 build failures on Windows. My
> understanding is that on *nix, builds with jdk8 work with current
> main-silver (which is what I used for my test). Unless you do some
> testing of the jdk8 branch on windows, after the switch/merge it may
> be impossible to build on windows if jdk7 is no longer an option.
>
> The question is whether or not the jdk8 branch has explicit fixes to
> get jdk8 builds working on windows.
>
>>
>>> It is not explicitly stated that jdk8 constructs, e.g. lambda
>>> expressions, are OK; I suppose that goes without saying...
>> Yes, these will be OK for going on. On the other hand using JDK8
>> constructs will make it harder to backport the fixes to NetBeans 8.1
>> patches. For some NB modules it is more than recommended if we will
>> not use JDK8 constructs for few more months.
>>
>> Martin
>>>
>>> I guess the other issue, [1] below, doesn't matter since it is about
>>> a failing condition when building with jdk7.
>>>
>>> -ernie
>>>
>>> On 11/18/2015 9:09 AM, Eric Barboni wrote:
>>>>
>>>> Hi,
>>>>
>>>> I’m happy to see this move to jdk8.
>>>>
>>>> As a NetCat member I try to build often the NetBeans sources
>>>> because it’s faster than to wait for builds from CI server.
>>>>
>>>> On windows it was not possible to anticipate build on jdk8 (with
>>>> the permit.jdk8.builds=true flag)
>>>>
>>>> . This lead to two issue [1] and [2] that should be considered as
>>>> ‘fixed’ by the work of Tomas.
>>>>
>>>> I tried to provide a patch on [2] that was based on the ${nb_all}
>>>> properties instead of ${basedir} as it was done this wayon all
>>>> projects [3] using the bootclasspath.prepend stuff (for coherence)
>>>>
>>>> Thanks a lot for this jdk build upgrade
>>>>
>>>> Best Regards
>>>>
>>>> Eric Barboni
>>>>
>>>> [1]<https://netbeans.org/bugzilla/show_bug.cgi?id=250848>https://netbeans.org/bugzilla/show_bug.cgi?id=250848
>>>>
>>>> [2]<https://netbeans.org/bugzilla/show_bug.cgi?id=251957>https://netbeans.org/bugzilla/show_bug.cgi?id=251957
>>>>
>>>> [3]
>>>>
>>>> j2ee.ejbverification\nbproject\project.properties
>>>>
>>>> java.hints\nbproject\ project.properties
>>>>
>>>> web.jsf\nbproject\ project.properties
>>>>
>>>> *De :*Martin Balin [mailto:[email protected]]
>>>> *Envoyé :* mercredi 18 novembre 2015 15:52
>>>> *À :* [email protected]
>>>> *Objet :* [nbdev] NetBeans dev build change to JDK8 & merge of JDK9
>>>> branch
>>>>
>>>> Hello all NB developers,
>>>>
>>>> On *Monday, Nov 30th* there will be a change of NetBeans dev build
>>>> to be run on JDK8.
>>>> The reasons for this change:
>>>>
>>>> 1. JDK7 is no longer publicly supported, JDK8 is the available and
>>>> supported version
>>>> 1. Number of users running NB on JDK7 is going down significantly
>>>> 2. JDK8 compilation allows NetBeans to run with JDK9 EA builds
>>>>
>>>> Java 9 is under development and we have more and more users who ask
>>>> us they want to experiment with NB on top of JDK9 or use JDK9 as NB
>>>> Java Platform. Therefore, we will also merge an early support for
>>>> JDK9 EA builds (https://jdk9.java.net/download/) to Dev builds. To
>>>> satisfy this we are switching the build to JDK8. To be able to use
>>>> jrtfs.jar from NB. Changes in this merge, approx 142 *.java files,
>>>> should not impact modules outside Java support too much. This merge
>>>> does not support "JDK9 EA with Project Jigsaw" builds.
>>>>
>>>> Tomas Zezula fixed the build to run on JDK8. We work with selected
>>>> developers for each team repo to make sure tests are running as
>>>> well on JDK8.
>>>>
>>>> What will follow:
>>>>
>>>> 1. We will confirm the JDK8 build switch date no later than on Fri
>>>> 11/27
>>>> 2. On Mon 11/30 we will ask all developers to hold on pushes to
>>>> their team repos to allow faster propagation of JDK8 build and
>>>> merger of JDK9 EA through team repos and main-silver
>>>> 3. Likely Development build of NetBeans will not be available for
>>>> several days.
>>>> 4. Be ready to fix some issues in your tests/code caused by new
>>>> build JDK8 or by JDK9 branch merge
>>>>
>>>> Comments, questions, let me know
>>>>
>>>> Thank you Martin Balin,
>>>> Development Manager
>>>> NetBeans Java support team
>>>>
>>>
>>
>