Skip to content

Commit b1aa53c

Browse files
committed
Merge pull request #15 from jtulach/JavadocInGate
Making 'mx javadoc --unified' part of the gate
2 parents cf8c4b6 + af73f33 commit b1aa53c

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

mx.truffle/mx_truffle.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ def sldebug(args):
5656
mx.run_java(vmArgs + ['-cp', mx.classpath("com.oracle.truffle.sl.tools"), "com.oracle.truffle.sl.tools.debug.SLREPL"] + slArgs)
5757

5858
def _truffle_gate_runner(args, tasks):
59+
with Task('Truffle Javadoc', tasks) as t:
60+
if t: mx.javadoc(['--unified'])
5961
with Task('Truffle UnitTests', tasks) as t:
6062
if t: unittest(['--suite', 'truffle', '--enable-timing', '--verbose', '--fail-fast'])
6163
with Task('Truffle Signature Tests', tasks) as t:

truffle/com.oracle.truffle.api.object/src/com/oracle/truffle/api/object/Layout.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ public static Layout createLayout() {
8686
* @param objectType that describes the object instance with this shape.
8787
* @param sharedData for language-specific use
8888
* @param id for language-specific use
89+
* @return new instance of a shape
8990
*/
9091
public abstract Shape createShape(ObjectType objectType, Object sharedData, int id);
9192

truffle/com.oracle.truffle.api.object/src/com/oracle/truffle/api/object/Property.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ protected Property() {
3535
/**
3636
* Create a new property.
3737
*
38+
* @param key the key of the property
39+
* @param location location of the property
3840
* @param flags for language-specific use
41+
* @return new instance of the property
3942
*/
4043
public static Property create(Object key, Location location, int flags) {
4144
return Layout.getFactory().createProperty(key, location, flags);

0 commit comments

Comments
 (0)