AW: [Lazy Consensus] Minimum JDK build and run policy (dropping JDK 8)

2023-04-05 Thread toni.ep...@eppleton.de
-1

I agree with Jarda. Having the portability for platforms like Android is 
important, and I support the proposed alternative.



Von: Jaroslav Tulach 
Datum: Mittwoch, 5. April 2023 um 17:13
An: dev 
Betreff: Re: [Lazy Consensus] Minimum JDK build and run policy (dropping JDK 8)
-1

Background: http://wiki.apidesign.org/wiki/Portability


Alternative:

- I will maintain what ever needs to be maintained to keep JDK 8 CI tests
running

- From Apache NetBeans 19, the minimum JDK required to build and run
the IDE will be JDK 11.

- The minimum JDK to run and test the NetBeans Platform and modules up to
VSCode & Jackpot remains JDK 8.

- Usage of JDK11, JDK17, etc. API is possible in dedicated modules via http://
wiki.apidesign.org/wiki/AlternativeImplementation


Justification:

Writing in Java (a language designed to write once and run everywhere) greatly
increases portability. However there is another axis hurting portability - the
supported JDK version. Of course, should a library be widely used, it has to
support as oldest JDK as possible. These days it is JDK8 - the primary reason
being that Android supports JDK8 - as such, should a library aspire to be used
on Android (as well as regular Java), it needs to stick to version eight.

There's transitivity of non-portability - the portability of the final
application cannot be bigger than portability of the least portable library
used. This applies also to 3rd party dependencies a framework or library has:
again their non-portability may negatively affect portability of such framework
or library.

Of course, writing portable libraries is harder. It requires more work from
the API author, more self-control, more suffering. However such suffering is
justifiable. There is usually a single API writer, but there are many users to
it. What matters is to simplify and improve experience of those API users -
own author suffering doesn't matter that much.

> # Proposed policy
>
> * Apache NetBeans 18 will be the last release to support running the
> platform on JDK 8.
>
> * From Apache NetBeans 19, the minimum JDK required to build and run
> the IDE or platform will be JDK 11.
>
> * Future releases will take an "LTS-1" strategy for building and
> running (and CI testing) of the IDE and platform. Three JDKs will be
> supported at any one time - the current JDK, plus the previous two LTS
> releases. eg. NetBeans 20 and 21 (Nov 2023 / Feb 2024) will support
> JDK 11, 17 and 21. NetBeans 22 (May 2024) will support JDK 17, 21 and
> 22.
>
> ## Background
>
> The Apache NetBeans IDE has officially required JDK 11 to build and
> run since NetBeans 13 in March 2022. The platform (and unofficially
> the IDE) have continued to support running on JDK 8 - all modules
> requiring a higher JDK must currently be optional. Various tests have
> continued on JDK 8.
>
> This situation is causing issues as workarounds must be found for
> currently non-optional features that have dependencies or other
> requirements for running on a higher JDK (eg. Maven indexing / Lucene
> [1]). It's causing delays, complications and missed testing time in
> integration of new features (eg. problems merging support for EE 10
> [2]). Supporting an increasing range of JDKs is causing increasing
> workload, both for people and CI. Meeting the challenges of deprecated
> (for removal) features in the JDK is also complicated by the
> additional JDK requirements.
>
> ## Notes
>
> * Apache NetBeans users will continue to be recommended to use the
> current or latest LTS JDK to run the IDE.  The IDE will continue to
> support users developing projects for/with JDK 8, for as long as
> nb-javac and other dependencies allow.
>
> * This proposal specifically doesn't address when the default bytecode
> level across the codebase is increased. This can happen when required,
> but non-optional modules would be free to adopt the minimum JDK as
> they need to.
>
> * Optional modules may continue to require a runtime JDK higher than
> the minimum.  Should it become necessary, build time optional modules
> might be considered - eg. a build on the minimum JDK may exclude
> modules that will not run on that JDK at runtime.
>
> * Some modules that are of independent use (eg. lookup, utilities,
> etc.) might be nominated and advertised to continue JDK 8 support for
> the time being. This is not expected to cover the runtime container as
> a whole - https://netbeans.apache.org/tutorials/nbm-runtime-container.html
>
> * Once NetBeans 19 is released, the NetBeans 18 release branch could
> be used to backport and release JDK 8 supporting fixes, subject to any
> PMC members wanting to manage those releases.
>
> * The term "platform" is used in reference to the whole framework of
> modules that we release (eg. via Maven), not just the platform
> cluster.
>
> [1] https://github.com/apache/netbeans/pull/4999
> [2] https://github.com/apache/netbeans/pull/4692
>
> -
> 

AW: [VOTE] NetBeans HTML/Java API 1.8.1

2022-07-10 Thread toni.ep...@eppleton.de
+1

Von: Jaroslav Tulach 
Datum: Donnerstag, 7. Juli 2022 um 07:46
An: dev@netbeans.apache.org 
Betreff: [VOTE] NetBeans HTML/Java API 1.8.1
Hi.
A bugfix release of HTML/Java API is needed. While trying to upgrade HTML/Java
libraries in NetBeans/VSCode: https://github.com/apache/netbeans/pull/4040 -
it has been found that additional bugfixes over 1.8 are needed.

This is the main voting artefact:
https://dist.apache.org/repos/dist/dev/netbeans/netbeans-html4j/netbeans-html4j-1.8.1/netbeans-html4j-1.8.1.zip
its sha512sum is
6540380491059525eab26b8f331f7f7098acce33063237fb591ba5aba2c6b09be29ff51ac991971948ae57c74b86b32b6a09aa164b625f413ba9e2f7be9e8d2f
and I signed it as 
https://dist.apache.org/repos/dist/dev/netbeans/netbeans-html4j/netbeans-html4j-1.8.1/netbeans-html4j-1.8.1.zip.asc
 - these files were
produced by https://ci-builds.apache.org/job/Netbeans/view/html4j/job/
netbeans-html4j-release/12/ job run.

If you want to build from the source, then unzip and use following command:

netbeans-html4j$ mvn clean install -DskipTests

you can also run the command without `-DskipTests` and report a (non blocking)
test failure. Right now the tests seem to be stable, but historically they
have been a bit flaky.

Of course, to verify the new library works, you should have an HTML/Java
project and switch it to the new version. If you don't have such project, you
can create one in NetBeans 13: "New Project/Java with Maven/Java Frontend
Application" - if that application works for you, then you can switch to
locally built HTML/Java API by changing:

--- a/pom.xml
+++ b/pom.xml
@@ -15,7 +15,7 @@
 js
 
 
-1.7
+1.8.1
 11
 1.0
 2.13

If your application continues to work, everything is OK.

In addition to the main voting artifact, we are also about to approve the
following Maven repository:
https://repository.apache.org/content/repositories/orgapachenetbeans-1120/
It has been produced by unzipping the main ZIP file and running:
```
netbeans-html4j$ JAVA_HOME=/jdk-17/ mvn -Dgpg.keyname=xyz -Papache-release
clean -DskipTests deploy
```
I'll release it to Maven central if our vote passes.

Please cast your votes. The vote is going to be open at least for 72h.
-jt








-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




AW: [VOTE] Release Apache NetBeans 12.6 mac OSX Installer

2021-11-30 Thread toni.ep...@eppleton.de
+1 (binding)

Tested on my MacBook Pro (16", 2021) Monterey,

Thanks

Toni

Von: Geertjan Wielenga 
Datum: Dienstag, 30. November 2021 um 14:18
An: dev 
Betreff: Re: [VOTE] Release Apache NetBeans 12.6 mac OSX Installer
Apologies, I've used it and it works great, should have voted earlier.

+1 (binding)

Gj

On Tue, Nov 30, 2021 at 2:02 PM John Mc  wrote:

> Any PMC members who use macOS?
>
> Can I ask if you haven't already can you download this installer and verify
> it works please?  We need 1 more binding vote to have 3 +1 binding votes in
> order for this vote to pass.  We already have mine and John Kostaras(
> https://people.apache.org/phonebook.html?uid=ikost).
>
> It would be good to successfully close this vote, so it doesn't hold up the
> 12.6 release.
>
> Regards
>
> John
>
> On Mon, 29 Nov 2021 at 14:56, John Mc  wrote:
>
> > + 1 (binding)
> >
> > We still need one more +1 binding vote, before I can close this.
> >
> > Regards
> >
> > John
> >
> > On Sat, 27 Nov 2021 at 12:06, Carl Mosca  wrote:
> >
> >> +1
> >> macOS 12.0.1
> >> Amazon Corretto JDK 17
> >>
> >> On Sat, Nov 27, 2021 at 2:44 AM John Kostaras 
> >> wrote:
> >>
> >> > +1
> >> > MacOSX 10.13.6
> >> > Oracle JDK 17
> >> >
> >> > JK
> >> >
> >> >
> >> >
> >> > Στις Παρ, 26 Νοε 2021, 6:39 π.μ. ο χρήστης Scott Palmer <
> >> > swpal...@gmail.com>
> >> > έγραψε:
> >> >
> >> > > +1
> >> > > macOS 12.0.1 intel
> >> > > Zulu “full” JDK 17.0.1
> >> > >
> >> > > Scott
> >> > >
> >> > > > On Nov 24, 2021, at 10:30 AM, John Mc 
> >> > wrote:
> >> > > >
> >> > > > Hi,
> >> > > >
> >> > > > We can vote for Apache NetBeans 12.6 mac OSX installer.
> >> > > >
> >> > > > Primary voting artefact:
> >> > > >
> >> > >
> >> >
> >>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/12.6/Apache-NetBeans-12.6-bin-macosx.dmg
> >> > > >
> >> > > > KEYS file:
> >> > > > https://dist.apache.org/repos/dist/release/netbeans/KEYS
> >> > > >
> >> > > > PGP signature file:
> >> > > >
> >> > >
> >> >
> >>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/12.6/Apache-NetBeans-12.6-bin-macosx.dmg.asc
> >> > > >
> >> > > > SHA512 checksum file:
> >> > > >
> >> > >
> >> >
> >>
> https://dist.apache.org/repos/dist/dev/netbeans/netbeans-installers/12.6/Apache-NetBeans-12.6-bin-macosx.dmg.sha512
> >> > > >
> >> > > > Built locally using the artefacts found in the Jenkins job:
> >> > > >
> >> > > >
> >> > >
> >> >
> >>
> https://ci-builds.apache.org/job/Netbeans/job/netbeans-TLP/job/netbeans/job/release126/14/
> >> > > >
> >> > > > NOTE: macOS versions prior to 10.14.4 require the Swift 5 Runtime
> >> to be
> >> > > > installed to launch Apache NetBeans
> >> > > >
> >> > > > This vote is going to be open at least 72 hours, vote with +1, 0,
> >> and
> >> > -1
> >> > > as
> >> > > > usual.
> >> > > > Please mark your vote with (binding) if you're an Apache NetBeans
> >> PMC
> >> > > > member.
> >> > > > Apache NetBeans-12.6 mac OSX Installer will be released if and
> when
> >> > this
> >> > > > vote passes.
> >> > > >
> >> > > > Regards
> >> > > >
> >> > > > John
> >> > >
> >> > >
> -
> >> > > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> >> > > For additional commands, e-mail: dev-h...@netbeans.apache.org
> >> > >
> >> > > For further information about the NetBeans mailing lists, visit:
> >> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >> > >
> >> > >
> >> > >
> >> > >
> >> >
> >>
> >>
> >> --
> >> Carl J. Mosca
> >>
> >
>