-
Notifications
You must be signed in to change notification settings - Fork 736
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
@WithBridgeMethods decorator in GHObject has no value adapterMethod #171
Comments
Deleting the overloading decorator does not seem to break this for now. |
Logs? |
re-running the mvn with the stack trace on. I worked around it by going into the source and removing the decorator. No jar artifact was produced. I am working on a projecct in eclipse and copied the sources in to get it working. Ill replace it once the 1.64 release is posted. |
$ mvn deploy -e
T E S T SRunning org.kohsuke.github.CommitTest |
Have you specified right credentials for passing integration tests? |
Have you read this documentation http://github-api.kohsuke.org/ ? |
Yeah this seems to be a mis-match between the @WithBridgeMethods definition and the compilers expectation of a adapterMethod being defined. Like i said, this is a compilation time problem not a runtime problem. |
What JDK are you using? What is the error message? |
This is using Oracle 1.8u40. The adapterMethod is undefined in Eclipse and the project fails to build. bridge-method-annotation-1.8.jar provides @WithBridgeMethods but that decorator does not have adapterMethod defined. Is there some reason you can not just write the 3 overloaded methods? |
You shoud get bridge-method-annotation 1.14 through dependency. How come you get 1.8? |
No further input from the submitter. Closing. |
When pulling the sources and building there is a build error in GHObject at each usage of adapterMethod. This is not a runtime problem, it will not even compile.
Perhaps this is a problem with the decorator definition and the dependency version number problem?
build 1.6.4-SNAPSHOT
bridge-method-annotation-1.8.jar
The text was updated successfully, but these errors were encountered: