Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cross-project-issues-dev] Recent breaking change to behaviour of Runtime#exec in Oracle JRE

The Platform team just became aware of a very recent change to the behaviour of some of the Runtime#exec methods in the Oracle JRE. This affects the most recent update of both Java SE 6 and Java SE 7 from Oracle. Here are the details provided in the JRE release notes:

http://www.oracle.com/technetwork/java/javase/7u21-relnotes-1932873.html#jruntime

I recommend that all projects review their references to all Runtime#exec methods that take a single string as first argument. Chances are if you use these methods you will now have problems executing applications on Windows when the path contains spaces. For reference here is the Platform bug where we are tracking changes required in Equinox, Platform, and JDT:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=408987

We intend to have these addressed for RC3 where appropriate.

John

Back to the top