Closed lkishalmi closed 1 month ago
... at finding those issues so I have heard, maybe he could check ;)
Seems more like they find me. It's not nearly as much fun/motivating if the product isn't about to ship.
I'm happy to give it a try, though I haven't used NB since around the time #7365 was opened.
Hopefully I'll see the commit go by, and then a few days later figure out (remember) how to download a daily. Or someone points me to a zip release with this PR.
@errael, @lkishalmi I've tried to open https://github.com/errael/astrology-castro/ to check the behaviour but the project loaded fine (after I removed the part with sonatype credentials).
How should I reach the failure ?
@sdedic if you're trying to replicate #7365 then it was fixed in 22-rc4, so you'd have to go back before then. If it loads fine with this PR (as hoped) then that's a good sign!
maybe I misunderstood @lkishalmi 's first comment then :-/
@sdedic this PR makes the same change to Java 17 as included in #7257 while trying to avoid #7365 The original update to Java 17 was reverted. The description could probably do with more info.
The key thing is to ensure that NbProjectInfoAction
is separated from the module and built with Java 8 as that class has to be deserializable into the running Gradle build and JDK. Given how that deserialization works, it's probably a good idea to keep separate from the module JAR too.
@errael here a dev build https://github.com/apache/netbeans/actions/runs/9891644164/artifacts/1690947578
maybe I misunderstood lkishalmi 's first comment then :-/
@sdedic The problem is not in NB 22 since we reverted https://github.com/apache/netbeans/pull/7367 a subset of the original PR during stabilization phase which is the normal procedure, esp later in the phase. This is a reworked patch for NB 23 which hopefully does not cause a variant of https://github.com/apache/netbeans/issues/7365 again.
I've tried to open ... but the project loaded fine How should I reach the failure ?
That's it; #7365 are open failures. I just used the provided dev-build. It does not have the project opening problems. I tried setting a breakpoint; running the project. All is well.
It's looking like I'll have some work to do on these projects using NB over the next few weeks. I'll try to put it off until 23-RC1 is ready.
@mbien BTW, in case I want to use that "latest", I looked at the download page and github actions page; it's not obvious how to pick up the latest dev build.
@mbien BTW, in case I want to use that "latest", I looked at the download page and github actions page; it's not obvious how to pick up the latest dev build.
dev-builds (master branch, like "nightly builds") are linked from the readme: https://github.com/apache/netbeans?tab=readme-ov-file#download
the link I posted was a build this PR produced, also a dev build but built from the PR branch (so it includes the changes, the nightly build does not).
dev-builds (master branch, like "nightly builds") are linked from the readme
Doh! Old school; thanks.
This one could be a solution: #7365