| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this allows using
```
Rake::JavaExtensionTask.new("name", gemspec) do |ext|
ext.release = '8'
end
```
on Java 8 (for building the gem), because the flag is available since
Java 9, see
https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html
this flag is for backward compatibility, so it's safe to just skip it if
we can't use it.
relates to https://github.com/puma/puma/pull/3109
https://github.com/socketry/nio4r/pull/292
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
GitHub: fix #163
TODO: We should add an example for command line.
Reported by Kai Kuchenbecker. Thanks!!!
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Make customizable compiler Xlint option for JRuby native extension
* [CS] restructure and fix indentation of (defaults) spec
* Add specs for lint_option
* [DOC] CHANGELOG: stub changelog entry for the next release
* [DOC] CHANGELOG: Make customizable compiler Xlint option for JRuby native extension
* Use "-Xlint" option for JRuby native extension by default.
`javac -help -X`
> -Xlint Enable recommended warnings
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Add comments explaining each condition.
|
|
|
|
|
|
|
|
|
|
| |
Using `libdir` provided by `RbConfig` to compile java extension from MRI
breaks as it can't find `jruby.jar` under `lib` directory. Added a check
on file existence if the path is taken from RbConfig and if it doesn't
exist, check for the path which is set in environment JRUBY_HOME to find
correct `jruby.jar`.
Raise the error to abort compilation if `jruby.jar` is not found.
|
| |
|
|\
| |
| |
| |
| | |
Use 'libdir' of rbconfig to get jruby classpath
Patch by Prashant Vithani. Thanks!!!
|
| | |
|
| | |
|
|/
|
|
| |
Source & Target version 5 are no longer supported for java8 and later. refer https://github.com/ruby-concurrency/concurrent-ruby/issues/747#issuecomment-416230078
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Pass explicit list of .class files, not wildcard.
* Because jar output directory is same as directory containing .class files, it
appeared that the jar command line tool was trying to recursively jar itself.
* Handle case where $ in .class file names (seen with use of inner classes, etc.)
was being expanded out on *NIX systems.
* Change feature to test for the above.
* Thanks to Luis for helping work through this and ensuring compatibility with
both *NIX and Windows systems.
Signed-off-by: Alex Coles <alex@alexcolesportfolio.com>
|
|
|
|
|
|
|
| |
* Many additional options can be specified for javac, but this won't be
implemented for this version of rake-compiler.
Signed-off-by: Alex Coles <alex@alexcolesportfolio.com>
|
|
|
|
| |
Signed-off-by: Alex Coles <alex@alexcolesportfolio.com>
|
| |
|
|
|
|
|
| |
Reduce to only one the display of warnings about usage
of ExtensionTask or JavaExtensionTask in mixed environments.
|
|
|
|
|
| |
File.expand_path is not recommended on 1.9, stick to plain require
should work.
|
|
JRuby support created by Alex Coles.
Merge done manually to avoid excesive cherry-picking
|