[
https://issues.jboss.org/browse/JBIDE-20316?page=com.atlassian.jira.plugi...
]
Fred Bricon updated JBIDE-20316:
--------------------------------
Description:
https://github.com/jbosstools/jbosstools-openshift/blob/35496b287c1849f7a...
uses
{code}
process.waitFor(500, TimeUnit.MILLISECONDS)
{code}
which is only available in Java 8, whereas the plugin is meant to compile/run with Java
7.
I found this ugly workaround to implement a process timeout in Java 7 :
http://stackoverflow.com/questions/808276/how-to-add-a-timeout-value-when...
The alternative is to raise the Java BREE to JavaSE-1.8. But that was something
[~maxandersen] wasn't keen on doing when the whole JBDS requirement bumped to Java 8
(we want to be able to rollback to using Java 7 if the users demand it)
was:
https://github.com/jbosstools/jbosstools-openshift/blob/35496b287c1849f7a...
uses
{code}
process.waitFor(500, TimeUnit.MILLISECONDS)
{code}
which is only available in Java 8, whereas the plugin is meant to compile/run with Java
7.
I found this ugly workaround to implement a process timeout in Java 7 :
http://stackoverflow.com/questions/808276/how-to-add-a-timeout-value-when...
Port Forwarding Wizard : OpenshiftPreferencePage uses Java 8 API
----------------------------------------------------------------
Key: JBIDE-20316
URL:
https://issues.jboss.org/browse/JBIDE-20316
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.0.Beta2
Reporter: Fred Bricon
Assignee: Jeff Cantrill
https://github.com/jbosstools/jbosstools-openshift/blob/35496b287c1849f7a...
uses
{code}
process.waitFor(500, TimeUnit.MILLISECONDS)
{code}
which is only available in Java 8, whereas the plugin is meant to compile/run with Java
7.
I found this ugly workaround to implement a process timeout in Java 7 :
http://stackoverflow.com/questions/808276/how-to-add-a-timeout-value-when...
The alternative is to raise the Java BREE to JavaSE-1.8. But that was something
[~maxandersen] wasn't keen on doing when the whole JBDS requirement bumped to Java 8
(we want to be able to rollback to using Java 7 if the users demand it)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)