[security-dev 01249]: hg: jdk7/tl/langtools: 6517779: javax.lang.model.util.Elements.getConstantExpression() doesn't throw any exception; ...

joe.darcy at sun.com joe.darcy at sun.com
Thu Sep 24 01:30:26 UTC 2009


Changeset: e992e602788e
Author:    darcy
Date:      2009-09-23 18:29 -0700
URL:       http://hg.openjdk.java.net/jdk7/tl/langtools/rev/e992e602788e

6517779: javax.lang.model.util.Elements.getConstantExpression() doesn't throw any exception
6517907: javax.lang.model.util.Elements.getConstantExpression() with negative byte value fails
Summary: Fix various problems with Elements.getConstantExpression()
Reviewed-by: jjg

! src/share/classes/com/sun/tools/javac/util/Constants.java
! src/share/classes/com/sun/tools/javac/util/Convert.java
+ test/tools/javac/processing/model/util/elements/Foo.java
+ test/tools/javac/processing/model/util/elements/TestGetConstantExpression.java




More information about the security-dev mailing list