History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RUBY-1881
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Oleg Shpynov
Reporter: Roman Chernyatchik
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Ruby

JRuby autocompletion: constants from java classes and enums are in autocompletion variants after dot

Created: 17 Sep 08 15:33   Updated: 15 Oct 08 12:08
Component/s: JRuby
Fix Version/s: 2.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Duplicate
 
This issue is duplicated by:
RUBY-1880 Class constans and enum fields are in... Normal Closed

Severity: High


 Description  « Hide
JRuby autocompletion: constants from java classes and enums are in autocompletion variants after dot
// java
public enum Context {
   ALL
}
pulbic class Types {
  public static final String MY = ""
}

// jruby code
Context.ALL # <- here "ALL" is in autocompletion variants and can be resolved. But it's impossible on runtime. Instead we should use Context::ALL
Types.MY # the same problem


 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.