Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSGI bundle problem - correct version specification syntax for bytebuddy #679

Closed
wants to merge 1 commit into from

Conversation

mgrafl
Copy link
Contributor

@mgrafl mgrafl commented Oct 7, 2016

Proposed fix for #678:
Use double quotes around version specification for Byte Buddy dependencies.
The version for Objenesis dependencies is already specified correctly.

Proposed fix for mockito#678: 
Use double quotes around version specification for Byte Buddy dependencies. 
The version for Objenesis dependencies is already specified correctly.
@codecov-io
Copy link

codecov-io commented Oct 7, 2016

Current coverage is 87.23% (diff: 100%)

Merging #679 into master will increase coverage by 0.01%

@@             master       #679   diff @@
==========================================
  Files           272        272          
  Lines          5476       5476          
  Methods           0          0          
  Messages          0          0          
  Branches        901        901          
==========================================
+ Hits           4776       4777     +1   
  Misses          508        508          
+ Partials        192        191     -1   

Powered by Codecov. Last update adc1427...c9c7d53

@@ -16,7 +16,7 @@ afterEvaluate {
"org.mockito.*;version=${version}"

instruction 'Import-Package',
'net.bytebuddy.*;version=[1.4.26,2.0)',
'net.bytebuddy.*;version="[1.4.26,2.0)"',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mgrafl
this can be reduced to [1.4.26) which has an inclusive lower limit and an exclusive upper limit, denoting version 1.4.26 and any version after this, up to, but not including, version 2.0.0.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather not allow an infinite boundary. 2.0 is a major version with probable API changes.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bric3 nobody want's to introduce an infinite boundary, i requested to use the short form

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes but the OSGI range specification do say that [1.4.26) is equal to [1.4.26,∞) ;)

virgo documentation source

An “unbounded” version range, such as 1.2, which denotes version 1.2 and all later versions.

@bric3 bric3 changed the base branch from master to release/2.x October 7, 2016 08:18
@bric3 bric3 changed the base branch from release/2.x to master October 7, 2016 08:18
@bric3 bric3 added this to the 2.2 milestone Oct 7, 2016
@bric3
Copy link
Contributor

bric3 commented Oct 7, 2016

@mgrafl could you rebase your change on top of release/2.x and change the base to release/2.x as well (This can be done with the Edit button next to the title of the PR) ?

@mgrafl mgrafl changed the base branch from master to release/2.x October 7, 2016 09:33
@mgrafl mgrafl changed the base branch from release/2.x to master October 7, 2016 09:39
@mgrafl
Copy link
Contributor Author

mgrafl commented Oct 7, 2016

@bric3, Unfortunately, I cannot rebase the pull request from the website without write access to the repo.
Would it be acceptable that I make another pull request with the proper base?

@bric3
Copy link
Contributor

bric3 commented Oct 7, 2016

@mgrafl you can from your own repository ;)

If you want I can cherry pick your commit.

@mgrafl
Copy link
Contributor Author

mgrafl commented Oct 7, 2016

@bric3 yes, please do cherry pick it. Thanks.

bric3 pushed a commit that referenced this pull request Oct 7, 2016
…uddy

Proposed fix for #678:
Use double quotes around version specification for Byte Buddy dependencies.
The version for Objenesis dependencies is already specified correctly.
@bric3
Copy link
Contributor

bric3 commented Oct 7, 2016

Fixed via 615f7b4 on release/2.x

@bric3 bric3 closed this Oct 7, 2016
@mockitoguy mockitoguy changed the title Correct version specification syntax for bytebuddy OSGI bundle problem - correct version specification syntax for bytebuddy Oct 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants