stokpop opened a new pull request #696:
URL: https://github.com/apache/jmeter/pull/696


   ## Description
   Keep the text that is set on overridden JSyntaxTextArea anonymous class in 
headless mode.
   
   ## Motivation and Context
   Working on a project that uses jMeter components in a headless way 
(`java.awt.headless=true`), we found that the `setText(...)` is not kept on the 
`JSyntaxTextArea` from `getInstance(...)`. Following `getText()` call returns 
null. With `java.awt.headless=false`, to try and run with the original 
`JSyntaxTextArea` on headless linux it fails as there is no X11 display. 
   
   This might benefit headless unit test as well.
   
   ## How Has This Been Tested?
   Unit tests added. Snapshot build works in project.
   
   ## Types of changes
   - New feature (non-breaking change which adds functionality)
   
   ## Checklist:
   - [x] My code follows the [code style][style-guide] of this project.
   - [x] I have updated the documentation accordingly (javadocs and code 
comments)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to