Skip to content

Commit 5c438c5

Browse files
committed
8352748: Remove com.sun.tools.classfile from the JDK
Reviewed-by: ihse, jlahoda, vromero
1 parent e87ff32 commit 5c438c5

File tree

70 files changed

+6
-10015
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+6
-10015
lines changed

make/modules/jdk.compiler/Gendata.gmk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ $(eval $(call SetupJavaCompilation, COMPILE_CREATE_SYMBOLS, \
6060
TARGET_RELEASE := $(TARGET_RELEASE_NEWJDK), \
6161
COMPILER := buildjdk, \
6262
SRC := $(TOPDIR)/make/langtools/src/classes, \
63-
INCLUDES := build/tools/symbolgenerator com/sun/tools/classfile, \
63+
INCLUDES := build/tools/symbolgenerator, \
6464
BIN := $(BUILDTOOLS_OUTPUTDIR)/create_symbols_javac, \
6565
DISABLED_WARNINGS := options, \
6666
JAVAC_FLAGS := \

make/modules/jdk.javadoc/Gendata.gmk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ $(eval $(call SetupJavaCompilation, COMPILE_CREATE_SYMBOLS, \
5151
TARGET_RELEASE := $(TARGET_RELEASE_BOOTJDK), \
5252
SRC := $(TOPDIR)/make/langtools/src/classes \
5353
$(TOPDIR)/src/jdk.jdeps/share/classes, \
54-
INCLUDES := build/tools/symbolgenerator com/sun/tools/classfile, \
54+
INCLUDES := build/tools/symbolgenerator, \
5555
BIN := $(BUILDTOOLS_OUTPUTDIR)/create_symbols_javadoc, \
5656
DISABLED_WARNINGS := options, \
5757
JAVAC_FLAGS := \

src/jdk.compiler/share/classes/com/sun/tools/javac/code/TargetType.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2008, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -41,7 +41,6 @@
4141
* This code and its internal interfaces are subject to change or
4242
* deletion without notice.</b>
4343
*/
44-
// Code duplicated in com.sun.tools.classfile.TypeAnnotation.TargetType
4544
public enum TargetType {
4645
/** For annotations on a class type parameter declaration. */
4746
CLASS_TYPE_PARAMETER(0x00),

src/jdk.compiler/share/classes/com/sun/tools/javac/code/TypeAnnotationPosition.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2003, 2025, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -37,7 +37,6 @@
3737
* This code and its internal interfaces are subject to change or
3838
* deletion without notice.</b>
3939
*/
40-
// Code duplicated in com.sun.tools.classfile.TypeAnnotation.Position
4140
public class TypeAnnotationPosition {
4241

4342
public enum TypePathEntryKind {

src/jdk.jdeps/share/classes/com/sun/tools/classfile/AccessFlags.java

Lines changed: 0 additions & 259 deletions
This file was deleted.

0 commit comments

Comments
 (0)