Commit e5ecbff 1 parent c2f421b commit e5ecbff Copy full SHA for e5ecbff
File tree 1 file changed +3
-5
lines changed
src/java.base/share/classes/java/lang/reflect
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 1996, 2020 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 1996, 2023 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -49,13 +49,11 @@ private Array() {}
49
49
/**
50
50
* Creates a new array with the specified component type and
51
51
* length.
52
+ * @implSpec
52
53
* Invoking this method is equivalent to creating an array
53
54
* as follows:
54
55
* <blockquote>
55
- * <pre>
56
- * int[] x = {length};
57
- * Array.newInstance(componentType, x);
58
- * </pre>
56
+ * {@code Array.newInstance(componentType, new int[]{length});}
59
57
* </blockquote>
60
58
*
61
59
* <p>The number of dimensions of the new array must not
You can’t perform that action at this time.
0 commit comments