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.

Bug 257281

Summary: A class file will not run multiple times.
Product: java Reporter: akshaybabloo
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description akshaybabloo 2015-12-24 08:16:41 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Mac OS X version 10.11.2 running on x86_64
Java; VM; Vendor = 1.8.0_65
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.65-b01

Reproducibility: Happens every time

When you run a class file multiple times, for example say I have a class file "test.java". When you update the code you tend to run the code by doing either right click -> run file or fn + shift + F6 (Mac) which will eventually show the output in the "Output". But this works only 4 to 5 time, if you tend to do after 4 to 5 time the previous output is compiled and shown in the "Output".

STEPS:
  * Run a class file multiple times
  * You should get an output in the "Output"

ACTUAL:
  * After 4 to 5 times the output is the same as the 4th or 5th output, even though you change the code.

EXPECTED:
  Correct output on every code change
Comment 1 akshaybabloo 2015-12-24 08:16:55 UTC
Created attachment 157912 [details]
IDE log
Comment 2 bht 2016-08-07 04:57:12 UTC
Hi,

I am a NetBeans user not a developer.

To make resolution possible, this bug would require a test case, meaning not only steps how to reproduce, but also the exact context as attachments, so that the NetBeans developer can run into the described problem using the provided files.

http://wiki.netbeans.org/IssueReportingGuidelines

With the provided description, the issue does not seem to fit within priority 1 as described at

http://wiki.netbeans.org/BugPriorityGuidelines

I hope that adding the required files and upgrading the description will speed up the resolution of the issue.