This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | IDE is run with Heap dump on OOME: disabled | ||
---|---|---|---|
Product: | platform | Reporter: | Petr Cyhelsky <cyhelsky> |
Component: | Launchers&CLI | Assignee: | Antonin Nebuzelsky <anebuzelsky> |
Status: | VERIFIED FIXED | ||
Severity: | normal | ||
Priority: | P1 | ||
Version: | 7.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Petr Cyhelsky
2011-10-12 09:57:06 UTC
Starting with JDK 7 the return value of "java" process indicates error (returns a non-zero value) even if the parameters specified for "java" are correct and only no class is specified for the execution.
> on jdk 6 return value of ${jdkhome}/bin/java" -XX:+HeapDumpOnOutOfMemoryError
> is 0 but on jdk 7 the return value (at least on my box) is 130
Unfortunately on my linux box it is not a quite nice 130, but simply 1 (the same 1 as with specifying an incorrect nonexisting parameter).
Integrated into 'main-golden', will be available in build *201110240600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a556dd89997c User: Antonin Nebuzelsky <anebuzelsky@netbeans.org> Log: #203587: IDE is run with Heap dump on OOME disabled (starting java with only a valid XX parameter without specifying a class to run does not return exit code 0 anymore with Java 7) verified |