ham1 opened a new pull request, #6894:
URL: https://github.com/apache/jmeter/pull/6894

   ## Description
   
   Fixes wrong and outdated property documentation in `bin/jmeter.properties` 
and the properties reference. Only comments, commented-out example lines and 
documentation change.
   
   ### Removed
   
   | What | Where | Why |
   | --- | --- | --- |
   | `jmeter.httpclient.strict_rfc2616` and its description | 
`jmeter.properties`, `properties_reference.xml` | Nothing has read it since 
96910abad (2014), so setting it does nothing. |
   | `os_sampler.poll_for_timeout` and its "OS Process Sampler configuration" 
heading | `jmeter.properties` | Nothing has read it since 75011a5f9 (2019), so 
setting it does nothing. |
   
   ### Changed
   
   | Before | After | Where | Why |
   | --- | --- | --- | --- |
   | `#post_add_content_type_if_missing=false` | 
`#http.post_add_content_type_if_missing=false` | `jmeter.properties` | JMeter 
reads the name with the `http.` prefix, so uncommenting the old line had no 
effect. The properties reference already had the right name. |
   | Without any `jmeter.laf` property, JMeter uses the `CrossPlatform` LAF, 
because it generally looks better than the `System` LAF (with a link to bug 
52026) | Without any `jmeter.laf` property, JMeter uses the Darklaf Darcula 
theme | `jmeter.properties`, `properties_reference.xml` | The default is 
Darklaf Darcula. The reason and bug link only applied to the old default, so 
they are gone too. |
   | Not mentioned | A theme chosen from the Options > Look and Feel menu takes 
precedence over the `jmeter.laf` properties | `jmeter.properties`, 
`properties_reference.xml` | The saved menu choice is checked first, so the 
properties can appear to be ignored. |
   | `darklaf.unifiedMenuBar` only has an effect if `darklaf.native` is `true` 
| ... if `darklaf.allowNativeCode` is `true` | `properties_reference.xml` | 
`darklaf.allowNativeCode` is the property JMeter reads. `darklaf.native` is 
only a shortcut in the Gradle build. |
   
   ### Not included
   
   * The properties reference still has an empty "OS Process Sampler 
configuration" section. Removing it means renumbering the hand-numbered 
sections after it.
   * `hc.parameters.file` is also documented but ignored. It needs a separate 
change.
   
   ## Motivation and Context
   
   People who set these properties, or rely on the described default, get no 
effect and no warning.
   
   ## How Has This Been Tested?
   
   * Searched the sources to check each property name and the look and feel 
selection order.
   * Checked that `properties_reference.xml` still parses as XML. The site was 
not built.
   
   ## Types of changes
   
   - Bug fix (non-breaking change which fixes an issue)
   


-- 
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