[NETBEANS-3164]:Fixed issue in Text-Block#1547
Conversation
Getting latest changes
|
JDK13 preview feature: CRC generated using chcksum command in windows cygwin64. |
|
What issue does this fix address? Still having errors with IDE running different JDK version than 13. |
|
Yes, you'll get an updated nb-javac in the next days, we're very aware of this issue, and are working on it. |
|
That's why I'm asking. I manually switched the nb-javac impl in current beta2 to the one that this patch does link to. But it does not work better than before. |
|
You're going to need to sit tight a bit, we'll announce it when it's there. |
extra/nbjavac.impl/release/modules/ext/nb-javac-13-impl.jar.external
Outdated
Show resolved
Hide resolved
|
Most likely not intended. |
[NETBEANS-3164]:Fixed issue in Text-Block
|
So, I'm assuming intended for NB11.2-beta3? Adding milestone - please remember to add for future PR intended for releases. Thanks! With revised nb-javac support ( cc @jlahoda ) would we be able to push updates to these files via distribution update centre to trigger download of new external binaries if we need to update the library after release rather than falling back to plugin centre? |
How did you switch it to new impl First install nb-javac plugin and then restart NB Then go back to location - C:\Users<username>\AppData\Roaming\NetBeans\11.2-beta1 I did the same and after that text blocks are working for me with base jdk of net beans as JDK8. |
|
I did it exactly this way but with JDK 11 as runtime JDK without success. |
|
Can you put here the exact URLs you used to get the two JARs? |
|
Well, I did another clean install of beta2 with fresh profile and manual "patch" of nb-javac. Now it seems to work. Maybe my latest profile got buggy by manipulation. ;-) |
|
Excellent, thanks for the help in verifying this fix, much appreciated. |
|
Welcome! But there are still funny behaviours in the editor for textblocks: Maybe something for a deeper NETCAT |
|
Can you create a new issue for this? |
jlahoda
left a comment
There was a problem hiding this comment.
Looks good. Next time, we could probably also increase the spec versions of the modules, so that people that already have the previous modules installed would get an update, but hopefully OK for now (users need to either use a new userdir, or manually uninstall/delete the module and reinstall, I believe).
We could distribute an update using an update center, as long as we use an update center that is specific to this release (so that we don't break previous releases).
|
@jlahoda what is the current spec version? I currently see same version in NB 11.2-beta2 as NB 11.1. Just tried with clean userdir and disabling plugin centre first - I don't see nb-javac at all, although I do see JavaFX modules available ??? Enabling Java cluster fails when plugin centre disabled. That doesn't sound right?! |
|
Ok, I know now what is going on - the nb-javac modules are not part of the "3rdparty" cluster, and hence are not part of the source zip built by build-source-config (for cluster.config=release). And so they are not in the beta :-(. I didn't realize the cluster.properties need to change as well, and all is working for a build from the sources in git (as the modules are in the checkout). I apologize for that. I've submitted: to add the modules to the 3rdparty cluster, which should ensure they are part of the source distro. For the record, the spec versions of these modules is "2.0". |
|
@neilcsmith-net are you OK with me merging this? (I'll then merge master into #1560.) |
|
@jlahoda yes, said same on 1560. If you can merge them both, then I'll look at beta3 tomorrow. Thanks! |
[NETBEANS-3164]:Fixed issue in Text-Block