New issue
Advanced search Search tips

Issue 899802 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Oct 30
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Enum bindings do not have max value in java

Project Member Reported by beccahughes@chromium.org, Oct 29

Issue description

Enum bindings do do not have a max or min value in Java like they do in C++.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Oct 30

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/357fbd61b0d4c53a5aff606cb9ddf1c39b204243

commit 357fbd61b0d4c53a5aff606cb9ddf1c39b204243
Author: Becca Hughes <beccahughes@chromium.org>
Date: Tue Oct 30 15:59:09 2018

Add min/max value enum to Java

C++ bindings have a kMinValue and kMaxValue in mojo
enums. This adds the same to the Java bindings.

BUG= 899802 

Change-Id: Ic3dd6ca5b665c6ed6adbd5ffcc80e93573dc51c6
Reviewed-on: https://chromium-review.googlesource.com/c/1305193
Reviewed-by: Ken Rockot <rockot@google.com>
Commit-Queue: Becca Hughes <beccahughes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#603917}
[modify] https://crrev.com/357fbd61b0d4c53a5aff606cb9ddf1c39b204243/mojo/public/tools/bindings/generators/java_templates/enum_definition.tmpl

Status: Fixed (was: Started)

Sign in to add a comment