J2R5M3 / evolutionchamber

Automatically exported from code.google.com/p/evolutionchamber
0 stars 0 forks source link

Entering a negative number in the processor field makes the app run without doing any work #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run the application
2. Enter -1 as the number of processors
3. Press start

What is the expected output? What do you see instead?
I expect to be informed that this value is invalid. Optimally I should not be 
allowed to enter it in the first place as it makes no sense.
I'm still presented with the greetings message. The Start button changed to 
Restart and the Running for timer is running. Next to it the last update timer 
says 'Not Running'.

What version of the product are you using? On what operating system?

version 0002 on MS Windows Vista Home Premium SP2

java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)

Please provide any additional information below.

Original issue reported on code.google.com by netpr...@gmail.com on 18 Oct 2010 at 7:28

GoogleCodeExporter commented 8 years ago

Original comment by netpr...@gmail.com on 18 Oct 2010 at 8:14

GoogleCodeExporter commented 8 years ago
Also a 'don't do it' fix. But should protect against, later.

Original comment by Frit...@gmail.com on 18 Oct 2010 at 8:56

GoogleCodeExporter commented 8 years ago

Original comment by Frit...@gmail.com on 18 Oct 2010 at 8:58

GoogleCodeExporter commented 8 years ago
Fixed in r39
The application will assume using one processor if the provided value is 
negative.

Original comment by netpr...@gmail.com on 22 Oct 2010 at 1:11

GoogleCodeExporter commented 8 years ago

Original comment by netpr...@gmail.com on 22 Oct 2010 at 6:32