Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 11 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
/build/
/.cache
/compile_commands.json
/dist/
.DS_Store
/.idea/
/.vscode/
/nbproject/
nbproject/private/
/webrev
/.src-rev
/.jib/
**/JTreport/**
**/JTwork/**
.DS_Store
.metadata/
.recommenders/
test/nashorn/script/external
test/nashorn/lib
NashornProfile.txt
/nbproject/
nbproject/private/
**/JTreport/**
**/JTwork/**
/src/utils/LogCompilation/target/
/src/utils/LogCompilation/logc.jar
/.project/
.recommenders/
/.settings/
/compile_commands.json
/.cache
Expand Down
65 changes: 0 additions & 65 deletions README-rewritten-jdk-history

This file was deleted.

137 changes: 0 additions & 137 deletions azure-pipelines.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public BufferedInputStream(InputStream in) {
* @param size the buffer size.
* @throws IllegalArgumentException if {@code size <= 0}.
*/
public BufferedInputStream(InputStream in, int size) {
public BufferedInputStream(InputStream in, int size) {
super(in);
if (size <= 0) {
throw new IllegalArgumentException("Buffer size <= 0");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
package java.io;

import org.jspecify.annotations.NullMarked;
import org.jspecify.annotations.Nullable;
import java.util.Arrays;
import jdk.internal.misc.VM;

Expand Down
8 changes: 3 additions & 5 deletions src/java.base/share/classes/java/io/BufferedReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public class BufferedReader extends Reader {
*
* @throws IllegalArgumentException If {@code sz <= 0}
*/
public BufferedReader(Reader in, int sz) {
public BufferedReader(Reader in, int sz) {
super(in);
if (sz <= 0)
throw new IllegalArgumentException("Buffer size <= 0");
Expand Down Expand Up @@ -407,7 +407,7 @@ String readLine(boolean ignoreLF, boolean[] term) throws IOException {
/**
* {@inheritDoc}
*/
public long skip( long n) throws IOException {
public long skip(long n) throws IOException {
if (n < 0L) {
throw new IllegalArgumentException("skip value is negative");
}
Expand Down Expand Up @@ -447,8 +447,6 @@ public long skip( long n) throws IOException {
*
* @throws IOException If an I/O error occurs
*/


public boolean ready() throws IOException {
synchronized (lock) {
ensureOpen();
Expand Down Expand Up @@ -497,7 +495,7 @@ public boolean markSupported() {
* @throws IllegalArgumentException If {@code readAheadLimit < 0}
* @throws IOException If an I/O error occurs
*/
public void mark( int readAheadLimit) throws IOException {
public void mark(int readAheadLimit) throws IOException {
if (readAheadLimit < 0) {
throw new IllegalArgumentException("Read-ahead limit < 0");
}
Expand Down
1 change: 0 additions & 1 deletion src/java.base/share/classes/java/io/BufferedWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
package java.io;

import org.jspecify.annotations.NullMarked;
import org.jspecify.annotations.Nullable;

import java.util.Arrays;
import java.util.Objects;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
package java.io;

import org.jspecify.annotations.NullMarked;
import org.jspecify.annotations.Nullable;

import java.util.Arrays;
import java.util.Objects;
Expand Down
12 changes: 4 additions & 8 deletions src/java.base/share/classes/java/io/ByteArrayOutputStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
package java.io;

import org.jspecify.annotations.NullMarked;
import org.jspecify.annotations.Nullable;

import java.nio.charset.Charset;
import java.util.Arrays;
Expand Down Expand Up @@ -60,7 +59,7 @@ public class ByteArrayOutputStream extends OutputStream {
/**
* The number of valid bytes in the buffer.
*/
protected int count;
protected int count;

/**
* Creates a new {@code ByteArrayOutputStream}. The buffer capacity is
Expand All @@ -77,7 +76,7 @@ public ByteArrayOutputStream() {
* @param size the initial size.
* @throws IllegalArgumentException if size is negative.
*/
public ByteArrayOutputStream( int size) {
public ByteArrayOutputStream(int size) {
if (size < 0) {
throw new IllegalArgumentException("Negative initial size: "
+ size);
Expand Down Expand Up @@ -187,7 +186,7 @@ public synchronized void reset() {
* @return the current contents of this output stream, as a byte array.
* @see java.io.ByteArrayOutputStream#size()
*/
public synchronized byte[] toByteArray() {
public synchronized byte[] toByteArray() {
return Arrays.copyOf(buf, count);
}

Expand All @@ -198,8 +197,7 @@ public synchronized byte[] toByteArray() {
* of valid bytes in this output stream.
* @see java.io.ByteArrayOutputStream#count
*/

public synchronized int size() {
public synchronized int size() {
return count;
}

Expand Down Expand Up @@ -253,7 +251,6 @@ public synchronized String toString() {
* If the named charset is not supported
* @since 1.1
*/

public synchronized String toString(String charsetName)
throws UnsupportedEncodingException
{
Expand Down Expand Up @@ -303,7 +300,6 @@ public synchronized String toString(Charset charset) {
* @see java.io.ByteArrayOutputStream#toString()
* @see Charset#defaultCharset()
*/

@Deprecated
public synchronized String toString(int hibyte) {
return new String(buf, hibyte, 0, count);
Expand Down
6 changes: 3 additions & 3 deletions src/java.base/share/classes/java/io/CharArrayReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private void ensureOpen() throws IOException {
*
* @throws IOException If an I/O error occurs
*/
public int read() throws IOException {
public int read() throws IOException {
synchronized (lock) {
ensureOpen();
if (pos >= count)
Expand Down Expand Up @@ -188,7 +188,7 @@ public int read(CharBuffer target) throws IOException {
*
* @throws IOException {@inheritDoc}
*/
public long skip(long n) throws IOException {
public long skip(long n) throws IOException {
synchronized (lock) {
ensureOpen();

Expand Down Expand Up @@ -236,7 +236,7 @@ public boolean markSupported() {
*
* @throws IOException If an I/O error occurs
*/
public void mark( int readAheadLimit) throws IOException {
public void mark(int readAheadLimit) throws IOException {
synchronized (lock) {
ensureOpen();
markedPos = pos;
Expand Down
Loading
Loading