Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Problem with latest CPP EPP and Docker terminal

Hi Jeff,

Sounds like you have a way forward. 

As for enabled by default, I have for CDT 10.6 enabled the update site by default https://wiki.eclipse.org/CDT/User/NewIn106#Release - The C/C++ EPP had it enabled by default already for many years.

Jonah

~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


On Thu, 16 Dec 2021 at 17:24, Jeff Johnston <jjohnstn@xxxxxxxxxx> wrote:
Hi Jonah,

Thanks for the information regarding p2.inf.  I didn't know vmargs were possible via p2.inf but found a reference in stackoverflow.
Will give it a try and possibly issue a 8.5.1 fix release.

Yes, the Linux Tools update site is not enabled by default but is specified so all the user has to do is enable it.  If you think we should
enable it by default, it is easy enough to do in our p2.inf files.

We have issues with various hidden fields/classes that we need to hook the terminal up to the Docker output/input.  Don't see it being fixed just for us which is
why we had to do the hijacking in the first place.

-- Jeff J.

On Thu, Dec 16, 2021 at 4:42 PM Jonah Graham <jonah@xxxxxxxxxxxxxxxx> wrote:
Hi Jeff,

We can't really update EPP before 2022-03 (without a full respin) because I don't think it would be approved by the planning council to do a respin for this. It is possible to have a linuxtools service release with a p2.inf that adds the extra options though so Check for Updates could see it*. Alternatively ask users to downgrade to Java 11?

* Slight complication is that there is no linuxtools update site configured by default. There is a CDT one.

There is a separate conversation on whether adding those args is ok or iif fixing the code to not access JDK internals needs to be done.

Jonah


~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


On Thu, 16 Dec 2021 at 15:12, Jeff Johnston <jjohnstn@xxxxxxxxxx> wrote:
Hi Jonah,

There is an issue with the latest CPP EPP running Docker containers and showing results in the terminal.  Docker uses a hijack method that utilizes reflection and this is being blocked by the default Java 17 shipped with the EPP.

I found that adding: -vmargs --add-opens java.base/java.io=ALL-UNNAMED --add-opens/java.base/sun.nio.ch=ALL-UNNAMED fixes the problem for me.

Can we add these options to the config?  Can we do an EPP update prior to 2022-03?

-- Jeff J.
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev

Back to the top