|
Mantis - Quercus
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4246 | major | always | 10-07-10 07:40 | 03-29-13 00:27 | |
|
|
|||||
| Reporter: | andrew_miah | Platform: | |||
| Assigned To: | domdorn | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.7 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| Summary: | 0004246: Invocation of java method, differing only by parameter type: enum versus integer, cannot resolve method. | ||||
| Description: |
Quercus could not resolve two methods which differ only by parameter, e.g.: public void get( Long l ); public void get( MyEnum e ); |
||||
| Steps To Reproduce: | |||||
| Additional Information: |
Exception: java.lang.UnsupportedOperationException: class com.caucho.quercus.marshal.EnumMarshal at com.caucho.quercus.marshal.Marshal.getMarshalingCostImpl(Marshal.java:215) at com.caucho.quercus.marshal.Marshal.getMarshalingCost(Marshal.java:210) at com.caucho.quercus.env.JavaInvoker.getMarshalingCost(JavaInvoker.java:502) at com.caucho.quercus.env.JavaOverloadMethod.getBestFitJavaMethod(JavaOverloadMethod.java:231) ... |
||||
| Relationships | |||||
| Attached Files: |
|
||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||