GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 3.x: Avoid using System.getProperties() due to security restrictions by akarnokd · Pull Request #6637 · ReactiveX/RxJava

Conversation

@akarnokd

@akarnokd akarnokd commented Aug 28, 2019

Copy link
Copy Markdown
Member

Change the code in the SchedulerPoolFactory to use System.getProperty directly. Also fix property names to rx3. as now both v2 and v3 could run together.

Fixes #6636

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@akarnokd
3.x: Avoid using System.getProperties() due to security restrictions
2e7246d
@akarnokd akarnokd added the 3.x label Aug 28, 2019
@akarnokd akarnokd added this to the 3.0 milestone Aug 28, 2019
@codecov

codecov Bot commented Aug 28, 2019

Copy link
Copy Markdown

Codecov Report

Merging #6637 into 3.x will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##                3.x   #6637      +/-   ##
===========================================
+ Coverage     98.16%   98.2%   +0.03%     
- Complexity     6182    6195      +13     
===========================================
  Files           678     678              
  Lines         44801   44806       +5     
  Branches       6177    6177              
===========================================
+ Hits          43981   44002      +21     
+ Misses          278     276       -2     
+ Partials        542     528      -14
Impacted Files Coverage Δ Complexity Δ
...ava3/internal/schedulers/ComputationScheduler.java 97.53% <ø> (ø) 14 <0> (ø) ⬇️
...ain/java/io/reactivex/rxjava3/core/Observable.java 100% <ø> (ø) 540 <0> (ø) ⬇️
...xjava3/internal/schedulers/NewThreadScheduler.java 100% <ø> (ø) 4 <0> (ø) ⬇️
...va/io/reactivex/rxjava3/schedulers/Schedulers.java 100% <ø> (ø) 11 <0> (ø) ⬇️
...x/rxjava3/internal/schedulers/SingleScheduler.java 92.94% <ø> (ø) 15 <0> (ø) ⬇️
...tivex/rxjava3/internal/schedulers/IoScheduler.java 89.36% <ø> (ø) 9 <0> (ø) ⬇️
.../main/java/io/reactivex/rxjava3/core/Flowable.java 100% <100%> (ø) 565 <1> (ø) ⬇️
...ava3/internal/schedulers/SchedulerPoolFactory.java 100% <100%> (ø) 19 <6> (+6) ⬆️
...main/java/io/reactivex/rxjava3/core/Scheduler.java 100% <100%> (ø) 11 <0> (ø) ⬇️
...l/operators/observable/ObservableFlatMapMaybe.java 88.19% <0%> (-6.25%) 2% <0%> (ø)
... and 25 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 97790c6...2e7246d. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cxbiao

cxbiao commented Aug 28, 2019

Copy link
Copy Markdown

ok

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

vanniktech
vanniktech approved these changes Aug 28, 2019
View reviewed changes
@akarnokd
akarnokd merged commit 54d9279 into ReactiveX:3.x Aug 28, 2019
@akarnokd
akarnokd deleted the SystemPropertyDirect3x branch August 28, 2019 10:58
@akarnokd akarnokd mentioned this pull request Aug 28, 2019
System.properties access restriction. #6636
Closed
@akarnokd akarnokd mentioned this pull request Sep 11, 2019
3.0.0-RC3 release preparations #6649
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@vanniktech vanniktech vanniktech approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

3.x

Projects

None yet

Milestone

3.0

Development

Successfully merging this pull request may close these issues.

System.properties access restriction.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@akarnokd @cxbiao @vanniktech
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.