Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: incorporate Java 17 EEAs from vegardit/no-npe #218

Merged
merged 1 commit into from
Sep 27, 2024
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion libraries/java-17/java/awt/GraphicsDevice.eea
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ getConfigurations
()[Ljava/awt/GraphicsConfiguration;
getDefaultConfiguration
()Ljava/awt/GraphicsConfiguration;
()Ljava/awt/GraphicsConfiguration;
()L1java/awt/GraphicsConfiguration;
getDisplayMode
()Ljava/awt/DisplayMode;
()Ljava/awt/DisplayMode;
Expand Down
20 changes: 10 additions & 10 deletions libraries/java-17/java/awt/GraphicsEnvironment.eea
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,32 @@ class java/awt/GraphicsEnvironment

getLocalGraphicsEnvironment
()Ljava/awt/GraphicsEnvironment;
()Ljava/awt/GraphicsEnvironment;
()L1java/awt/GraphicsEnvironment;

createGraphics
(Ljava/awt/image/BufferedImage;)Ljava/awt/Graphics2D;
(Ljava/awt/image/BufferedImage;)Ljava/awt/Graphics2D;
(L1java/awt/image/BufferedImage;)L1java/awt/Graphics2D;
getAllFonts
()[Ljava/awt/Font;
()[Ljava/awt/Font;
()[1L1java/awt/Font;
getAvailableFontFamilyNames
()[Ljava/lang/String;
()[Ljava/lang/String;
()[1L1java/lang/String;
getAvailableFontFamilyNames
(Ljava/util/Locale;)[Ljava/lang/String;
(Ljava/util/Locale;)[Ljava/lang/String;
(L1java/util/Locale;)[1L1java/lang/String;
getCenterPoint
()Ljava/awt/Point;
()Ljava/awt/Point;
()L1java/awt/Point;
getDefaultScreenDevice
()Ljava/awt/GraphicsDevice;
()Ljava/awt/GraphicsDevice;
()L1java/awt/GraphicsDevice;
getMaximumWindowBounds
()Ljava/awt/Rectangle;
()Ljava/awt/Rectangle;
()L1java/awt/Rectangle;
getScreenDevices
()[Ljava/awt/GraphicsDevice;
()[Ljava/awt/GraphicsDevice;
()[1L1java/awt/GraphicsDevice;
registerFont
(Ljava/awt/Font;)Z
(Ljava/awt/Font;)Z
(L1java/awt/Font;)Z
4 changes: 2 additions & 2 deletions libraries/java-17/java/awt/image/BufferedImage.eea
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ getHeight
(Ljava/awt/image/ImageObserver;)I
getProperty
(Ljava/lang/String;)Ljava/lang/Object;
(Ljava/lang/String;)Ljava/lang/Object;
(Ljava/lang/String;)L1java/lang/Object; # @Inherited(java.awt.image.RenderedImage)
getProperty
(Ljava/lang/String;Ljava/awt/image/ImageObserver;)Ljava/lang/Object;
(Ljava/lang/String;Ljava/awt/image/ImageObserver;)Ljava/lang/Object;
getPropertyNames
()[Ljava/lang/String;
()[Ljava/lang/String;
()[0L1java/lang/String; # @Inherited(java.awt.image.RenderedImage)
getRGB
(IIII[III)[I
(IIII[III)[I
Expand Down
4 changes: 2 additions & 2 deletions libraries/java-17/java/awt/image/RenderedImage.eea
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ getData
(Ljava/awt/Rectangle;)Ljava/awt/image/Raster;
getProperty
(Ljava/lang/String;)Ljava/lang/Object;
(Ljava/lang/String;)Ljava/lang/Object;
(Ljava/lang/String;)L1java/lang/Object;
getPropertyNames
()[Ljava/lang/String;
()[Ljava/lang/String;
()[0L1java/lang/String;
getSampleModel
()Ljava/awt/image/SampleModel;
()Ljava/awt/image/SampleModel;
Expand Down
2 changes: 1 addition & 1 deletion libraries/java-17/java/beans/ExceptionListener.eea
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ class java/beans/ExceptionListener

exceptionThrown
(Ljava/lang/Exception;)V
(Ljava/lang/Exception;)V
(L1java/lang/Exception;)V
6 changes: 3 additions & 3 deletions libraries/java-17/java/beans/FeatureDescriptor.eea
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class java/beans/FeatureDescriptor

attributeNames
()Ljava/util/Enumeration<Ljava/lang/String;>;
()Ljava/util/Enumeration<Ljava/lang/String;>;
()L1java/util/Enumeration<L1java/lang/String;>;
getDisplayName
()Ljava/lang/String;
()Ljava/lang/String;
Expand All @@ -14,7 +14,7 @@ getShortDescription
()Ljava/lang/String;
getValue
(Ljava/lang/String;)Ljava/lang/Object;
(Ljava/lang/String;)Ljava/lang/Object;
(L1java/lang/String;)L0java/lang/Object;
setDisplayName
(Ljava/lang/String;)V
(Ljava/lang/String;)V
Expand All @@ -26,7 +26,7 @@ setShortDescription
(Ljava/lang/String;)V
setValue
(Ljava/lang/String;Ljava/lang/Object;)V
(Ljava/lang/String;Ljava/lang/Object;)V
(L1java/lang/String;L0java/lang/Object;)V
toString
()Ljava/lang/String;
()L1java/lang/String; # @Inherited(java.lang.Object)
8 changes: 4 additions & 4 deletions libraries/java-17/java/io/BufferedInputStream.eea
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ class java/io/BufferedInputStream

buf
[B
[B
[1B

<init>
(Ljava/io/InputStream;)V
(Ljava/io/InputStream;)V
(L1java/io/InputStream;)V
<init>
(Ljava/io/InputStream;I)V
(Ljava/io/InputStream;I)V
(L1java/io/InputStream;I)V
read
([BII)I
([BII)I
([1BII)I # @Inherited(java.io.FilterInputStream)
8 changes: 4 additions & 4 deletions libraries/java-17/java/io/BufferedOutputStream.eea
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ class java/io/BufferedOutputStream

buf
[B
[B
[1B

<init>
(Ljava/io/OutputStream;)V
(Ljava/io/OutputStream;)V
(L1java/io/OutputStream;)V
<init>
(Ljava/io/OutputStream;I)V
(Ljava/io/OutputStream;I)V
(L1java/io/OutputStream;I)V
write
([BII)V
([BII)V
([1BII)V # @Inherited(java.io.FilterOutputStream)
10 changes: 5 additions & 5 deletions libraries/java-17/java/io/BufferedReader.eea
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@ class java/io/BufferedReader

<init>
(Ljava/io/Reader;)V
(Ljava/io/Reader;)V
(L1java/io/Reader;)V
<init>
(Ljava/io/Reader;I)V
(Ljava/io/Reader;I)V
(L1java/io/Reader;I)V
lines
()Ljava/util/stream/Stream<Ljava/lang/String;>;
()Ljava/util/stream/Stream<Ljava/lang/String;>;
()L1java/util/stream/Stream<L1java/lang/String;>;
read
([CII)I
([CII)I
([1CII)I # @Inherited(java.io.Reader)
readLine
()Ljava/lang/String;
()Ljava/lang/String;
()L0java/lang/String;
8 changes: 4 additions & 4 deletions libraries/java-17/java/io/BufferedWriter.eea
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ class java/io/BufferedWriter

<init>
(Ljava/io/Writer;)V
(Ljava/io/Writer;)V
(L1java/io/Writer;)V
<init>
(Ljava/io/Writer;I)V
(Ljava/io/Writer;I)V
(L1java/io/Writer;I)V
write
(Ljava/lang/String;II)V
(Ljava/lang/String;II)V
(L1java/lang/String;II)V # @Inherited(java.io.Writer)
write
([CII)V
([CII)V
([1CII)V # @Inherited(java.io.Writer)
12 changes: 6 additions & 6 deletions libraries/java-17/java/io/ByteArrayInputStream.eea
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ class java/io/ByteArrayInputStream

buf
[B
[B
[1B

<init>
([B)V
([B)V
([1B)V
<init>
([BII)V
([BII)V
([1BII)V
read
([BII)I
([BII)I
([1BII)I # @Inherited(java.io.InputStream)
readAllBytes
()[B
()[B
()[1B # @Inherited(java.io.InputStream)
readNBytes
([BII)I
([BII)I
([1BII)I # @Inherited(java.io.InputStream)
transferTo
(Ljava/io/OutputStream;)J
(L1java/io/OutputStream;)J # @Inherited(java.io.InputStream)
16 changes: 8 additions & 8 deletions libraries/java-17/java/io/ByteArrayOutputStream.eea
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@ class java/io/ByteArrayOutputStream

buf
[B
[B
[1B

toByteArray
()[B
()[B
()[1B
toString
()Ljava/lang/String;
()L1java/lang/String; # @Inherited(java.lang.Object)
toString
(I)Ljava/lang/String;
(I)Ljava/lang/String;
(I)L1java/lang/String;
toString
(Ljava/lang/String;)Ljava/lang/String;
(Ljava/lang/String;)Ljava/lang/String;
(L1java/lang/String;)L1java/lang/String;
toString
(Ljava/nio/charset/Charset;)Ljava/lang/String;
(Ljava/nio/charset/Charset;)Ljava/lang/String;
(L1java/nio/charset/Charset;)Ljava/lang/String;
write
([BII)V
([BII)V
([1BII)V # @Inherited(java.io.OutputStream)
writeBytes
([B)V
([B)V
([1B)V
writeTo
(Ljava/io/OutputStream;)V
(Ljava/io/OutputStream;)V
(L1java/io/OutputStream;)V
8 changes: 4 additions & 4 deletions libraries/java-17/java/io/CharArrayReader.eea
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ class java/io/CharArrayReader

buf
[C
[C
[1C

<init>
([C)V
([C)V
([1C)V
<init>
([CII)V
([CII)V
([1CII)V
read
(Ljava/nio/CharBuffer;)I
(L1java/nio/CharBuffer;)I # @Inherited(java.io.Reader)
read
([CII)I
([CII)I
([1CII)I # @Inherited(java.io.Reader)
16 changes: 8 additions & 8 deletions libraries/java-17/java/io/CharArrayWriter.eea
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@ class java/io/CharArrayWriter

buf
[C
[C
[1C

append
(C)Ljava/io/CharArrayWriter;
(C)Ljava/io/CharArrayWriter;
(C)L1java/io/CharArrayWriter;
append
(Ljava/lang/CharSequence;)Ljava/io/CharArrayWriter;
(Ljava/lang/CharSequence;)Ljava/io/CharArrayWriter;
(L0java/lang/CharSequence;)L1java/io/CharArrayWriter;
append
(Ljava/lang/CharSequence;II)Ljava/io/CharArrayWriter;
(Ljava/lang/CharSequence;II)Ljava/io/CharArrayWriter;
(L0java/lang/CharSequence;II)L1java/io/CharArrayWriter;
toCharArray
()[C
()[C
()[1C
toString
()Ljava/lang/String;
()L1java/lang/String; # @Inherited(java.lang.Object)
write
(Ljava/lang/String;II)V
(Ljava/lang/String;II)V
(L1java/lang/String;II)V # @Inherited(java.io.Writer)
write
([CII)V
([CII)V
([1CII)V # @Inherited(java.io.Writer)
writeTo
(Ljava/io/Writer;)V
(Ljava/io/Writer;)V
(L1java/io/Writer;)V
14 changes: 7 additions & 7 deletions libraries/java-17/java/io/Console.eea
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,25 @@ charset
()Ljava/nio/charset/Charset;
format
(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/Console;
(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/Console;
(L1java/lang/String;[0Ljava/lang/Object;)L1java/io/Console;
printf
(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/Console;
(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/Console;
(L1java/lang/String;[0Ljava/lang/Object;)L1java/io/Console;
readLine
()Ljava/lang/String;
()Ljava/lang/String;
()L0java/lang/String;
readLine
(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
(L1java/lang/String;[0Ljava/lang/Object;)L0java/lang/String;
readPassword
()[C
()[C
readPassword
(Ljava/lang/String;[Ljava/lang/Object;)[C
(Ljava/lang/String;[Ljava/lang/Object;)[C
(L1java/lang/String;[0Ljava/lang/Object;)[0C
reader
()Ljava/io/Reader;
()Ljava/io/Reader;
()L1java/io/Reader;
writer
()Ljava/io/PrintWriter;
()Ljava/io/PrintWriter;
()L1java/io/PrintWriter;
8 changes: 4 additions & 4 deletions libraries/java-17/java/io/DataInput.eea
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ class java/io/DataInput

readFully
([B)V
([B)V
([1B)V
readFully
([BII)V
([BII)V
([1BII)V
readLine
()Ljava/lang/String;
()Ljava/lang/String;
()L1java/lang/String;
readUTF
()Ljava/lang/String;
()Ljava/lang/String;
()L1java/lang/String;
12 changes: 6 additions & 6 deletions libraries/java-17/java/io/DataInputStream.eea
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ readUTF
(Ljava/io/InputStream;)V
read
([B)I
([B)I
([1B)I # @Inherited(java.io.FilterInputStream)
read
([BII)I
([BII)I
([1BII)I # @Inherited(java.io.FilterInputStream)
readFully
([B)V
([B)V
([1B)V # @Inherited(java.io.DataInput)
readFully
([BII)V
([BII)V
([1BII)V # @Inherited(java.io.DataInput)
readLine
()Ljava/lang/String;
()Ljava/lang/String;
()L1java/lang/String; # @Inherited(java.io.DataInput)
readUTF
()Ljava/lang/String;
()Ljava/lang/String;
()L1java/lang/String; # @Inherited(java.io.DataInput)
Loading