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

Merge master jdk-23+33 into openj9-staging #15

Merged
merged 65 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
73cefe1
8334258: Compiler erronousely allows access to instance variable in a…
Jun 19, 2024
0a07c23
8334043: VerifyError when inner class is accessed in prologue
Jun 19, 2024
b7fbcee
8334402: ProblemList test/hotspot/jtreg/compiler/c2/TestMergeStores.j…
reinrich Jun 20, 2024
5ce4c81
8304732: jdk/jfr/api/consumer/recordingstream/TestStop.java failed ag…
egahlin Jun 20, 2024
c82ec31
8334488: Improve error for illegal early access from nested class
Jun 20, 2024
dac518f
8333344: JMX attaching of Subject does not work when security manager…
kevinjwalls Jun 21, 2024
e89e237
8334333: MissingResourceCauseTestRun.java fails if run by root
Jun 21, 2024
d7c0327
8333854: IllegalAccessError with proxies after JDK-8332457
liach Jun 21, 2024
ac62874
8334441: Mark tests in jdk_security_infra group as manual
Jun 23, 2024
bbf459c
8334708: FFM: two javadoc problems
SirYwell Jun 24, 2024
2f8b887
8333358: java/io/IO/IO.java test fails intermittently
Jun 24, 2024
6632889
8334762: [BACKOUT BACKPORT] Improve error for illegal early access fr…
Jun 24, 2024
e7141a5
8333748: javap crash - Fatal error: Unmatched bit position 0x2 for lo…
liach Jun 24, 2024
8447d00
8334509: Cancelling PageDialog does not return the same PageFormat ob…
prsadhuk Jun 24, 2024
d5427ff
8323196: jdk/jfr/api/consumer/filestream/TestOrdered.java failed with…
egahlin Jun 24, 2024
7ddc206
8222884: ConcurrentClassDescLookup.java times out intermittently
RealCLanger Jun 25, 2024
d2c098a
8334580: Deprecate no-arg constructor BasicSliderUI() for removal
prsadhuk Jun 26, 2024
6ff5d96
8334629: [BACKOUT] PhaseIdealLoop::conditional_move is too conservative
TobiHartmann Jun 26, 2024
370d1f8
8333583: Crypto-XDH.generateSecret regression after JDK-8329538
vpaprotsk Jun 26, 2024
0b4f724
8324781: runtime/Thread/TestAlwaysPreTouchStacks.java failed with Exp…
stefank Jun 27, 2024
afab6ad
8326705: Test CertMsgCheck.java fails to find alert certificate_required
Jun 27, 2024
fa2fb70
8334421: assert(!oldbox->is_unbalanced()) failed: this should not be …
Jun 27, 2024
c4317d1
8334886: jdk/jfr/api/recording/time/TestTimeMultiple.java failed with…
egahlin Jun 27, 2024
99cd701
8333849: (dc) DatagramChannel send/receive fails with UOE if buffer b…
dfuch Jul 1, 2024
91a27f8
8333542: Breakpoint in parallel code does not work
coleenp Jul 1, 2024
9b246ba
8334600: TEST java/net/MulticastSocket/IPMulticastIF.java fails on li…
Jul 1, 2024
f604cb7
8335134: Test com/sun/jdi/BreakpointOnClassPrepare.java timeout
plummercj Jul 1, 2024
bc87e3e
8335390: C2 MergeStores: wrong result with Unsafe
eme64 Jul 2, 2024
6e444df
8322812: Manpage for jcmd is missing JFR.view command
egahlin Jul 5, 2024
65679dc
8335479: JFR: Missing documentation for -XX:StartFlightRecording
egahlin Jul 5, 2024
ce862ff
8324089: Fix typo in the manual page for "jcmd" (man jcmd)
egahlin Jul 5, 2024
59d0ab5
8334297: (so) java/nio/channels/SocketChannel/OpenLeak.java should no…
RealCLanger Jul 6, 2024
19cc304
8335475: ClassBuilder incorrectly calculates max_locals in some cases
liach Jul 8, 2024
2e40ae6
8334433: jshell.exe runs an executable test.exe on startup
lahodaj Jul 9, 2024
355c5fb
8335824: Test gc/arguments/TestMinInitialErgonomics.java is timing out
Jul 9, 2024
576caf1
8334757: AssertionError: Missing type variable in where clause
cushon Jul 9, 2024
eee3abc
8335124: com/sun/management/ThreadMXBean/ThreadCpuTimeArray.java fail…
kevinjwalls Jul 9, 2024
f74ecc4
8333886: Explicitly specify that asSlice and reinterpret return a mem…
JornVernee Jul 10, 2024
cc5de1b
8335637: Add explicit non-null return value expectations to Object.to…
jddarcy Jul 11, 2024
4d04191
8335966: Remove incorrect problem listing of java/lang/instrument/Nat…
jaikiran Jul 11, 2024
a1f525e
8335766: Switch case with pattern matching and guard clause compiles …
lahodaj Jul 11, 2024
c41034e
8333884: MemorySegment::reinterpret removes read-only property
JornVernee Jul 11, 2024
3bf8cbd
8335935: Chained builders not sending transformed models to next tran…
liach Jul 11, 2024
a22d0f3
8334418: Update IANA Language Subtag Registry to Version 2024-06-14
Jul 12, 2024
e1287fe
8336036: Synthetic documentation for a record's equals is incorrect f…
liach Jul 14, 2024
1d2ce58
8318106: Generated HTML for snippet does not always contain an id
liach Jul 14, 2024
6c32473
8334719: (se) Deferred close of SelectableChannel may result in a Sel…
jaikiran Jul 15, 2024
40d8d37
8335820: java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java fa…
asotona Jul 15, 2024
7a14c52
8324841: PKCS11 tests still skip execution
Jul 15, 2024
8b80e22
8325369: @sealedGraph: Bad link to image for tag on nested classes
liach Jul 15, 2024
3734da6
8336259: Wrong link to stylesheet.css in JavaDoc API documentation
liach Jul 15, 2024
1820ccc
8334653: ISO 4217 Amendment 177 Update
Jul 15, 2024
2464ed6
Improve patch to ValueLayouts for AIX
keithc-ca Jul 16, 2024
6cf4ac0
Merge pull request #14 from keithc-ca/aix_double
JasonFengJ9 Jul 16, 2024
f83c682
8324559: Improve 2D image handling
jayathirthrao Mar 15, 2024
aa96089
8320097: Improve Image transformations
prrace Mar 29, 2024
3471458
8323390: Enhance mask blit functionality
jayathirthrao Apr 2, 2024
2538f65
Merge
jaikiran Jul 17, 2024
e860381
8269657: Test java/nio/channels/DatagramChannel/Loopback.java failed:…
Jul 17, 2024
95d9adf
8331194: NPE in ArrayCreationTree.java with -XX:-UseCompressedOops
TobiHartmann Jul 17, 2024
a858729
8336375: Crash on paste to JShell
lahodaj Jul 18, 2024
b9a389f
8335817: javac AssertionError addLocalVar checkNull
lahodaj Jul 18, 2024
9fff717
Merge latest openj9 into openj9-staging
JasonFengJ9 Jul 19, 2024
6e8a102
Merge master jdk-23+33 into openj9-staging
JasonFengJ9 Jul 19, 2024
44ddec7
Update OPENJDK_TAG to merged level jdk-23+33
JasonFengJ9 Jul 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion closed/openjdk-tag.gmk
Original file line number Diff line number Diff line change
@@ -1 +1 @@
OPENJDK_TAG := jdk-23+31
OPENJDK_TAG := jdk-23+33
18 changes: 9 additions & 9 deletions make/jdk/src/classes/build/tools/taglet/SealedGraph.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -107,7 +107,7 @@ public String toString(List<? extends DocTree> tags, Element element) {
throw new RuntimeException(e);
}

String simpleTypeName = element.getSimpleName().toString();
String simpleTypeName = packagelessCanonicalName(typeElement).replace('.', '/');
String imageFile = simpleTypeName + "-sealed-graph.svg";
int thumbnailHeight = 100; // also appears in the stylesheet
String hoverImage = "<span>"
Expand Down Expand Up @@ -315,14 +315,14 @@ private static Optional<String> packageName(TypeElement element) {
case MEMBER -> packageName((TypeElement) element.getEnclosingElement());
};
}
}

private static String packagelessCanonicalName(TypeElement element) {
String result = element.getSimpleName().toString();
while (element.getNestingKind() == NestingKind.MEMBER) {
element = (TypeElement) element.getEnclosingElement();
result = element.getSimpleName().toString() + '.' + result;
}
return result;
private static String packagelessCanonicalName(TypeElement element) {
String result = element.getSimpleName().toString();
while (element.getNestingKind() == NestingKind.MEMBER) {
element = (TypeElement) element.getEnclosingElement();
result = element.getSimpleName().toString() + '.' + result;
}
return result;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@

import static java.util.Objects.requireNonNull;
import static jdk.internal.classfile.impl.BytecodeHelpers.handleDescToHandleInfo;
import jdk.internal.classfile.impl.TransformingCodeBuilder;

import jdk.internal.javac.PreviewFeature;

/**
Expand Down Expand Up @@ -171,7 +171,7 @@ public sealed interface CodeBuilder
default CodeBuilder transforming(CodeTransform transform, Consumer<CodeBuilder> handler) {
var resolved = transform.resolve(this);
resolved.startHandler().run();
handler.accept(new TransformingCodeBuilder(this, resolved.consumer()));
handler.accept(new ChainedCodeBuilder(this, resolved.consumer()));
resolved.endHandler().run();
return this;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!doctype html>
<!--
Copyright (c) 2013, 2020, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2013, 2024, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

This code is free software; you can redistribute it and/or modify it
Expand All @@ -26,7 +26,6 @@
<html lang="en">
<head>
<title>Value-based Classes</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<h1 id="ValueBased">{@index "Value-based Classes"}</h1>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!doctype html>
<!--
Copyright (c) 2005, 2023, Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2005, 2024, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

This code is free software; you can redistribute it and/or modify it
Expand All @@ -26,7 +26,6 @@
<html lang="en">
<head>
<title>Java Thread Primitive Deprecation</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<h1>Java Thread Primitive Deprecation</h1>
Expand Down
21 changes: 21 additions & 0 deletions src/java.base/share/classes/java/lang/foreign/MemorySegment.java
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,9 @@ public sealed interface MemorySegment permits AbstractMemorySegmentImpl {
* asSlice(offset, newSize, 1);
* }
* <p>
* If this segment is {@linkplain MemorySegment#isReadOnly() read-only},
* the returned segment is also {@linkplain MemorySegment#isReadOnly() read-only}.
* <p>
* The returned memory segment shares a region of backing memory with this segment.
* Hence, no memory will be allocated or freed by this method.
*
Expand All @@ -650,6 +653,9 @@ public sealed interface MemorySegment permits AbstractMemorySegmentImpl {
* alignment constraint. The returned segment's address is the address of this
* segment plus the given offset; its size is specified by the given argument.
* <p>
* If this segment is {@linkplain MemorySegment#isReadOnly() read-only},
* the returned segment is also {@linkplain MemorySegment#isReadOnly() read-only}.
* <p>
* The returned memory segment shares a region of backing memory with this segment.
* Hence, no memory will be allocated or freed by this method.
*
Expand Down Expand Up @@ -677,6 +683,9 @@ public sealed interface MemorySegment permits AbstractMemorySegmentImpl {
* asSlice(offset, layout.byteSize(), layout.byteAlignment());
* }
* <p>
* If this segment is {@linkplain MemorySegment#isReadOnly() read-only},
* the returned segment is also {@linkplain MemorySegment#isReadOnly() read-only}.
* <p>
* The returned memory segment shares a region of backing memory with this segment.
* Hence, no memory will be allocated or freed by this method.
*
Expand All @@ -703,6 +712,9 @@ public sealed interface MemorySegment permits AbstractMemorySegmentImpl {
* asSlice(offset, byteSize() - offset);
* }
* <p>
* If this segment is {@linkplain MemorySegment#isReadOnly() read-only},
* the returned segment is also {@linkplain MemorySegment#isReadOnly() read-only}.
* <p>
* The returned memory segment shares a region of backing memory with this segment.
* Hence, no memory will be allocated or freed by this method.
*
Expand All @@ -719,6 +731,9 @@ public sealed interface MemorySegment permits AbstractMemorySegmentImpl {
* Returns a new memory segment that has the same address and scope as this segment,
* but with the provided size.
* <p>
* If this segment is {@linkplain MemorySegment#isReadOnly() read-only},
* the returned segment is also {@linkplain MemorySegment#isReadOnly() read-only}.
* <p>
* The returned memory segment shares a region of backing memory with this segment.
* Hence, no memory will be allocated or freed by this method.
*
Expand Down Expand Up @@ -757,6 +772,9 @@ public sealed interface MemorySegment permits AbstractMemorySegmentImpl {
* scope, and is accessible from any thread. The size of the segment accepted by the
* cleanup action is {@link #byteSize()}.
* <p>
* If this segment is {@linkplain MemorySegment#isReadOnly() read-only},
* the returned segment is also {@linkplain MemorySegment#isReadOnly() read-only}.
* <p>
* The returned memory segment shares a region of backing memory with this segment.
* Hence, no memory will be allocated or freed by this method.
*
Expand Down Expand Up @@ -805,6 +823,9 @@ public sealed interface MemorySegment permits AbstractMemorySegmentImpl {
* scope, and is accessible from any thread. The size of the segment accepted by the
* cleanup action is {@code newSize}.
* <p>
* If this segment is {@linkplain MemorySegment#isReadOnly() read-only},
* the returned segment is also {@linkplain MemorySegment#isReadOnly() read-only}.
* <p>
* The returned memory segment shares a region of backing memory with this segment.
* Hence, no memory will be allocated or freed by this method.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,24 +68,19 @@ public abstract sealed class AbstractPoolEntry {
*/

private static final int TAG_SMEAR = 0x13C4B2D1;
private static final int INT_PHI = 0x9E3779B9;
static final int NON_ZERO = 0x40000000;

public static int hash1(int tag, int x1) {
return phiMix(tag * TAG_SMEAR + x1);
return (tag * TAG_SMEAR + x1) | NON_ZERO;
}

public static int hash2(int tag, int x1, int x2) {
return phiMix(tag * TAG_SMEAR + x1 + 31*x2);
return (tag * TAG_SMEAR + x1 + 31 * x2) | NON_ZERO;
}

// Ensure that hash is never zero
public static int hashString(int stringHash) {
return phiMix(stringHash | (1 << 30));
}

public static int phiMix(int x) {
int h = x * INT_PHI;
return h ^ (h >> 16);
return stringHash | NON_ZERO;
}

public static Utf8Entry rawUtf8EntryFromStandardAttributeName(String name) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -51,13 +51,13 @@ public BlockCodeBuilderImpl(CodeBuilder parent, Label breakLabel) {

public void start() {
topLocal = topLocal(parent);
terminalMaxLocals = topLocal(terminal);
terminal.with((LabelTarget) startLabel);
terminalMaxLocals = terminal.curTopLocal();
parent.with((LabelTarget) startLabel);
}

public void end() {
terminal.with((LabelTarget) endLabel);
if (terminalMaxLocals != topLocal(terminal)) {
parent.with((LabelTarget) endLabel);
if (terminalMaxLocals != terminal.curTopLocal()) {
throw new IllegalStateException("Interference in local variable slot management");
}
}
Expand All @@ -73,10 +73,8 @@ public boolean isEmpty() {
private int topLocal(CodeBuilder parent) {
return switch (parent) {
case BlockCodeBuilderImpl b -> b.topLocal;
case ChainedCodeBuilder b -> topLocal(b.terminal);
case DirectCodeBuilder b -> b.curTopLocal();
case BufferedCodeBuilder b -> b.curTopLocal();
case TransformingCodeBuilder b -> topLocal(b.delegate);
case ChainedCodeBuilder b -> b.terminal.curTopLocal();
case TerminalCodeBuilder b -> b.curTopLocal();
};
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -76,9 +76,7 @@ public boolean equals(Object obj) {

static int computeHashCode(MethodHandleEntryImpl handle,
List<? extends LoadableConstantEntry> arguments) {
int hash = handle.hashCode();
hash = 31 * hash + arguments.hashCode();
return AbstractPoolEntry.phiMix(hash);
return (31 * handle.hashCode() + arguments.hashCode()) | AbstractPoolEntry.NON_ZERO;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -988,77 +988,77 @@ public byte[] codeArray() {
public static AttributeMapper<?> standardAttribute(Utf8Entry name) {
// critical bootstrap path, so no lambdas nor method handles here
return switch (name.hashCode()) {
case 0x78147009 ->
case 0x46699ff2 ->
name.equalsString(NAME_ANNOTATION_DEFAULT) ? annotationDefault() : null;
case 0x665e3a3a ->
case 0x5208e184 ->
name.equalsString(NAME_BOOTSTRAP_METHODS) ? bootstrapMethods() : null;
case 0xcb7e162 ->
case 0xcb60907a ->
name.equalsString(NAME_CHARACTER_RANGE_TABLE) ? characterRangeTable() : null;
case 0x21e41e7e ->
case 0x4020220d ->
name.equalsString(NAME_CODE) ? code() : null;
case 0x5a306b41 ->
case 0xc20dd1fe ->
name.equalsString(NAME_COMPILATION_ID) ? compilationId() : null;
case 0x3e191c7c ->
case 0xcab1940d ->
name.equalsString(NAME_CONSTANT_VALUE) ? constantValue() : null;
case 0x5e88ed0c ->
case 0x558641d3 ->
name.equalsString(NAME_DEPRECATED) ? deprecated() : null;
case 0x7284695e ->
case 0x51d443cd ->
name.equalsString(NAME_ENCLOSING_METHOD) ? enclosingMethod() : null;
case 0x21df25db ->
case 0x687c1624 ->
name.equalsString(NAME_EXCEPTIONS) ? exceptions() : null;
case 0x11392da9 ->
case 0x7adb2910 ->
name.equalsString(NAME_INNER_CLASSES) ? innerClasses() : null;
case 0x167536fc ->
case 0x653f0551 ->
name.equalsString(NAME_LINE_NUMBER_TABLE) ? lineNumberTable() : null;
case 0x46939abc ->
case 0x64c75927 ->
name.equalsString(NAME_LOCAL_VARIABLE_TABLE) ? localVariableTable() : null;
case 0x63ee67f4 ->
case 0x6697f98d ->
name.equalsString(NAME_LOCAL_VARIABLE_TYPE_TABLE) ? localVariableTypeTable() : null;
case 0x2b597e15 ->
case 0xdbb0cdcb ->
name.equalsString(NAME_METHOD_PARAMETERS) ? methodParameters() : null;
case 0x19f20ade ->
case 0xc9b0928c ->
name.equalsString(NAME_MODULE) ? module() : null;
case 0x47f6395e ->
case 0x41cd27e8 ->
name.equalsString(NAME_MODULE_HASHES) ? moduleHashes() : null;
case 0x54db809 ->
case 0x7deb0a13 ->
name.equalsString(NAME_MODULE_MAIN_CLASS) ? moduleMainClass() : null;
case 0x1abd1c2c ->
case 0x6706ff99 ->
name.equalsString(NAME_MODULE_PACKAGES) ? modulePackages() : null;
case 0x6ba46dd ->
case 0x60272858 ->
name.equalsString(NAME_MODULE_RESOLUTION) ? moduleResolution() : null;
case 0x46f7d91d ->
case 0x5646d73d ->
name.equalsString(NAME_MODULE_TARGET) ? moduleTarget() : null;
case 0x5137f53 ->
case 0x50336c40 ->
name.equalsString(NAME_NEST_HOST) ? nestHost() : null;
case 0x4a8fa3b6 ->
case 0x4735ab81 ->
name.equalsString(NAME_NEST_MEMBERS) ? nestMembers() : null;
case 0x55c73cb6 ->
case 0x7100d9fe ->
name.equalsString(NAME_PERMITTED_SUBCLASSES) ? permittedSubclasses() : null;
case 0x3fe76d4e ->
case 0xd1ab5871 ->
name.equalsString(NAME_RECORD) ? record() : null;
case 0x180d6925 ->
case 0x7588550f ->
name.equalsString(NAME_RUNTIME_INVISIBLE_ANNOTATIONS) ? runtimeInvisibleAnnotations() : null;
case 0x7be22752 ->
case 0xcc74da30 ->
name.equalsString(NAME_RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS) ? runtimeInvisibleParameterAnnotations() : null;
case 0x5299824 ->
case 0xf67697f5 ->
name.equalsString(NAME_RUNTIME_INVISIBLE_TYPE_ANNOTATIONS) ? runtimeInvisibleTypeAnnotations() : null;
case 0x3534786e ->
case 0xe0837d2a ->
name.equalsString(NAME_RUNTIME_VISIBLE_ANNOTATIONS) ? runtimeVisibleAnnotations() : null;
case 0xb4b4ac6 ->
case 0xc945a075 ->
name.equalsString(NAME_RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS) ? runtimeVisibleParameterAnnotations() : null;
case 0x6926482 ->
case 0x611a3a90 ->
name.equalsString(NAME_RUNTIME_VISIBLE_TYPE_ANNOTATIONS) ? runtimeVisibleTypeAnnotations() : null;
case 0x16a42b7c ->
case 0xf76fb898 ->
name.equalsString(NAME_SIGNATURE) ? signature() : null;
case 0x400ab245 ->
case 0x6b41b047 ->
name.equalsString(NAME_SOURCE_DEBUG_EXTENSION) ? sourceDebugExtension() : null;
case 0x2af490d4 ->
case 0x748c2857 ->
name.equalsString(NAME_SOURCE_FILE) ? sourceFile() : null;
case 0x303e0c58 ->
case 0x6bf13a96 ->
name.equalsString(NAME_SOURCE_ID) ? sourceId() : null;
case 0x19c7d0cd ->
case 0xfa85ee5a ->
name.equalsString(NAME_STACK_MAP_TABLE) ? stackMapTable() : null;
case 0x3dc79b7a ->
case 0xf2670725 ->
name.equalsString(NAME_SYNTHETIC) ? synthetic() : null;
default -> null;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2022, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -43,7 +43,7 @@
import java.util.function.Consumer;

public final class BufferedCodeBuilder
implements TerminalCodeBuilder, LabelContext {
implements TerminalCodeBuilder {
private final SplitConstantPool constantPool;
private final ClassFileImpl context;
private final List<CodeElement> elements = new ArrayList<>();
Expand Down
Loading