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

Already on GitHub? Sign in to your account

Support `java_annotation` #151

Closed
egonSchiele opened this Issue Apr 22, 2013 · 3 comments

Comments

Projects
None yet
3 participants

RIght now warbler seems to just ignore all java_annotations, but the jruby compiler supports it.

Member

jkutner commented Apr 22, 2013

Can you provide an example?

Here's a hive udf I was trying to write:

java_package "com.foo.hive.udf"
java_import org.apache.hadoop.hive.ql.exec.Description
java_import org.apache.hadoop.hive.ql.exec.UDF

java_annotation 'Description(name = "foo", value = "_FUNC_(string) - just returns test.")'
class Foo < UDF
  def evaluate ts
    "test"
  end
end

But I might be mistaken, I'm no longer sure if jrubyc supports it either.

Owner

kares commented May 25, 2016

really a JRuby issue (that should be fixed by now - there's still a java_signature being dropped issue).

@kares kares closed this May 25, 2016

@kares kares added the invalid label May 25, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment